Commit c637d9a7 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] build script now explicitly supports additional version tags

parent 4f56c2a7
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
# Which version? # Which version?
VERSION_BASE=1.3.0_RC1 VERSION_BASE=1.3.0_RC1
# Any additonal tags?
VERSION_TAGS=rc1
# Should the package number contain the HG revision? # Should the package number contain the HG revision?
VERSION_INCLUDE_HG=1 VERSION_INCLUDE_HG=1
...@@ -117,9 +120,9 @@ Bootstrap() ...@@ -117,9 +120,9 @@ Bootstrap()
# called inside the working dir of owpack script. # called inside the working dir of owpack script.
echo "VERSION_BASE=$VERSION_BASE" >> $CONFIG_FILE echo "VERSION_BASE=$VERSION_BASE" >> $CONFIG_FILE
if [ $VERSION_INCLUDE_HG -ne 0 ]; then if [ $VERSION_INCLUDE_HG -ne 0 ]; then
echo "VERSION=$VERSION_BASE+hg`cd $CHECKOUT_DIR;hg parents --template "{rev}"`" >> $CONFIG_FILE echo "VERSION=$VERSION_BASE$VERSION_TAGS+hg`cd $CHECKOUT_DIR;hg parents --template "{rev}"`" >> $CONFIG_FILE
else else
echo "VERSION=$VERSION_BASE" >> $CONFIG_FILE echo "VERSION=$VERSION_BASE$VERSION_TAGS" >> $CONFIG_FILE
fi fi
# get the latest scripts # get the latest scripts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment