Build 2.1.1, second try.
authorGerald Combs <gerald@wireshark.org>
Thu, 14 Jul 2016 19:32:48 +0000 (12:32 -0700)
committerGerald Combs <gerald@wireshark.org>
Thu, 14 Jul 2016 19:34:39 +0000 (19:34 +0000)
The buildbots that create packages run `perl make-version.pl
--set-release` at the beginning of each build. This in turn sets the
extra version information for our generated packages to "-g<abbreviated
hash>" for development builds, or "" (an empty string) for release
builds.

Hardcoding the extra version information to "-git" in CMakeLists.txt and
configure.ac means we end up with wireshark-2.1.0-git.tar.bz2,
Wireshark-win64-2.1.0-git.exe, etc. for release builds. Set them back to
empty strings.

Change-Id: Icdfb248d25ad4adbc9abe0bd938e410590e42828
Reviewed-on: https://code.wireshark.org/review/16439
Reviewed-by: Gerald Combs <gerald@wireshark.org>
CMakeLists.txt
configure.ac

index 9f37eb6433d03f02bf6c9838e2445cb3bcaa9d97..34fc9382dbd34ab6b57fca9d36adfb21646500d2 100644 (file)
@@ -180,7 +180,7 @@ set(PROJECT_MAJOR_VERSION 2)
 set(PROJECT_MINOR_VERSION 1)
 set(PROJECT_PATCH_VERSION 1)
 set(PROJECT_BUILD_VERSION ${GIT_REVISION})
-set(PROJECT_VERSION_EXTENSION "-git")
+set(PROJECT_VERSION_EXTENSION "")
 
 if(DEFINED ENV{WIRESHARK_VERSION_EXTRA})
        set(PROJECT_VERSION_EXTENSION "$ENV{WIRESHARK_VERSION_EXTRA}")
index caa29a32a6350093ba2be2dfde3756011d0a37f4..f194e9447744b892ce2e3e8148fa5b89780e0385 100644 (file)
@@ -9,7 +9,7 @@ m4_define([version_major], [2])
 m4_define([version_minor], [1])
 m4_define([version_micro], [1])
 dnl Updated by make-version.pl
-m4_define([version_extra], [-git])
+m4_define([version_extra], [])
 m4_define([version_micro_extra], m4_join([], version_micro, version_extra))
 
 AC_INIT(Wireshark, [version_major.version_minor.version_micro_extra], http://bugs.wireshark.org/, , http://www.wireshark.org/)