dont use vers.txt

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2019-10-09 08:46:12 +03:00
parent 35f1674611
commit 807a11a1b7
3 changed files with 2 additions and 3 deletions

View File

@ -216,7 +216,7 @@ if [[ -d .git ]]; then
lsha1=$(git rev-parse --short HEAD)
fi
echo "buildme, Clover v2.5k r$(cat vers.txt) (SHA: $lsha1)"
echo "buildme, Clover v2.5k r$(git describe --tags $(git rev-list --tags --max-count=1)) (SHA: $lsha1)"
echo "TOOLCHAIN: $MYTOOLCHAIN (override example: './buildme XCODE8')"
echo
PS3='Please enter your choice: '

View File

@ -453,7 +453,7 @@ MainBuildScript() {
checkCmdlineArguments $@
checkToolchain
local repoRev=$(cat vers.txt)
local repoRev=$(git describe --tags $(git rev-list --tags --max-count=1))
#
# we are building the same rev as before?

View File

@ -1 +0,0 @@
5094