Override version during nightly builds
parent
0c3c79c725
commit
28543d1bbb
|
@ -238,6 +238,11 @@ if [ -z "$NIGHTLY_BUILD" ]; then
|
|||
update_tree
|
||||
check_tag_exists $VERSION
|
||||
fi
|
||||
|
||||
if [ -n "$NIGHTLY_BUILD" ]; then
|
||||
commit=`git rev-parse HEAD`
|
||||
VERSION=$VERSION-nightly-$commit
|
||||
fi
|
||||
do_build $VERSION
|
||||
make_dir_tree $TMP_WORK_DIR $VERSION
|
||||
|
||||
|
|
Loading…
Reference in New Issue