2012-05-15 01:04:44 -04:00
|
|
|
#!/bin/sh
|
|
|
|
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
|
|
|
|
|
|
|
|
sdir="."
|
|
|
|
[ -n "${0%/*}" ] && sdir="${0%/*}"
|
|
|
|
. $sdir/../scripts/ci/common.sh
|
|
|
|
|
|
|
|
check_pwd
|
|
|
|
check_input_ver_build $@
|
|
|
|
in_ver="$1"
|
2012-09-21 14:27:13 -04:00
|
|
|
in_hrev="$2"
|
2012-05-15 01:04:44 -04:00
|
|
|
if [ "$in_ver" = "auto" ]; then
|
|
|
|
in_ver="$(cat build/next-release.txt)"
|
|
|
|
fi
|
|
|
|
eval $(parse_version "$in_ver")
|
2012-09-21 14:27:13 -04:00
|
|
|
set_fs_ver "$gver" "$gmajor" "$gminor" "$gmicro" "$grev" "$in_hrev"
|
2012-05-15 01:04:44 -04:00
|
|
|
|