[beast] BUILD: assign rc postfix to versions so mkrelease.sh can parse it
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast] BUILD: assign rc postfix to versions so mkrelease.sh can parse it
- Date: Fri, 10 Sep 2010 17:33:17 +0000 (UTC)
commit 1dbe6732b2ba460ad3e28e8ed5ed5d90a90c3948
Author: Tim Janik <timj gtk org>
Date: Fri Sep 10 19:29:01 2010 +0200
BUILD: assign rc postfix to versions so mkrelease.sh can parse it
configure.in | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 26a4584..5d346af 100644
--- a/configure.in
+++ b/configure.in
@@ -37,10 +37,7 @@ BST_RELEASE_CANDIDATE= #rc1
# version number setup
BSE_VERSION=$BSE_MAJOR_VERSION.$BSE_MINOR_VERSION.$BSE_MICRO_VERSION
-BST_VERSION=$BSE_VERSION # -rcZ to be appended...
-if test -n "$BST_RELEASE_CANDIDATE" ; then
- BST_VERSION=$BST_VERSION-$BST_RELEASE_CANDIDATE
-fi
+BST_VERSION=$BSE_VERSION${BST_RELEASE_CANDIDATE:+-}$BST_RELEASE_CANDIDATE # M.M.M-rcZ
BIN_VERSION=$BSE_VERSION # binary version, used for binaries and paths
AC_SUBST(BSE_MAJOR_VERSION)
AC_SUBST(BSE_MINOR_VERSION)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]