build: add convenience script to set version in configure.in
This commit is contained in:
parent
0a5a057c46
commit
efc6f16cef
|
@ -0,0 +1,16 @@
|
|||
#!/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"
|
||||
if [ "$in_ver" = "auto" ]; then
|
||||
in_ver="$(cat build/next-release.txt)"
|
||||
fi
|
||||
eval $(parse_version "$in_ver")
|
||||
set_fs_ver "$gver" "$gmajor" "$gminor" "$gmicro" "$grev"
|
||||
|
Loading…
Reference in New Issue