summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-05 09:07:44 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-05 04:27:36 +0200
commitd561ef20b5f87bd3a77939de7175daca45679e29 (patch)
treefe6ae7c655563692f8913ef595cfc2a63dc31132 /source3
parent1a2b65cd31243f36f2a0a63bdad7f6d6f39afc1d (diff)
downloadsamba-d561ef20b5f87bd3a77939de7175daca45679e29.tar.gz
samba-d561ef20b5f87bd3a77939de7175daca45679e29.tar.bz2
samba-d561ef20b5f87bd3a77939de7175daca45679e29.zip
VERSION: prepare for beta1 by setting and parsing the beta version
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/mkversion.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/script/mkversion.sh b/source3/script/mkversion.sh
index e6b375e613..ef3582a546 100755
--- a/source3/script/mkversion.sh
+++ b/source3/script/mkversion.sh
@@ -20,6 +20,7 @@ SAMBA_VERSION_RELEASE=`sed -n 's/^SAMBA_VERSION_RELEASE=//p' $SOURCE_DIR$VERSION
SAMBA_VERSION_REVISION=`sed -n 's/^SAMBA_VERSION_REVISION=//p' $SOURCE_DIR$VERSION_FILE`
SAMBA_VERSION_TP_RELEASE=`sed -n 's/^SAMBA_VERSION_TP_RELEASE=//p' $SOURCE_DIR$VERSION_FILE`
+SAMBA_VERSION_BETA_RELEASE=`sed -n 's/^SAMBA_VERSION_BETA_RELEASE=//p' $SOURCE_DIR$VERSION_FILE`
SAMBA_VERSION_PRE_RELEASE=`sed -n 's/^SAMBA_VERSION_PRE_RELEASE=//p' $SOURCE_DIR$VERSION_FILE`
SAMBA_VERSION_RC_RELEASE=`sed -n 's/^SAMBA_VERSION_RC_RELEASE=//p' $SOURCE_DIR$VERSION_FILE`
@@ -55,6 +56,9 @@ if test -n "${SAMBA_VERSION_REVISION}";then
elif test -n "${SAMBA_VERSION_TP_RELEASE}";then
SAMBA_VERSION_STRING="${SAMBA_VERSION_STRING}tp${SAMBA_VERSION_TP_RELEASE}"
echo "#define SAMBA_VERSION_TP_RELEASE ${SAMBA_VERSION_TP_RELEASE}" >> $OUTPUT_FILE
+elif test -n "${SAMBA_VERSION_BETA_RELEASE}";then
+ SAMBA_VERSION_STRING="${SAMBA_VERSION_STRING}beta${SAMBA_VERSION_BETA_RELEASE}"
+ echo "#define SAMBA_VERSION_BETA_RELEASE ${SAMBA_VERSION_BETA_RELEASE}" >> $OUTPUT_FILE
elif test -n "${SAMBA_VERSION_PRE_RELEASE}";then
## maybe add "3.0.22pre2"
SAMBA_VERSION_STRING="${SAMBA_VERSION_STRING}pre${SAMBA_VERSION_PRE_RELEASE}"