fix: Check update not checking update when testing version was selected.

This commit is contained in:
Terry Geng
2020-11-30 01:08:11 +08:00
parent 892a1863e7
commit 2546e3b373
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,8 @@ steps:
commands:
- apt-get -qq update && apt-get -qq install git > /dev/null
- sed -i 's/target_version = git/target_version = testing/' configuration.default.ini
- version=$(git rev-parse HEAD)
- git fetch --tags
- version=$(git describe --tags)
- echo "current git commit is $version"
- echo $version > /mnt/botamusique/testing-version
- sed -i "s/version = 'git'/version = '$version'/" mumbleBot.py