azure: update version before making source bundle

This commit is contained in:
Pavel Stupnikov
2019-03-31 03:56:50 +03:00
parent 729d735946
commit d43c04212c
2 changed files with 5 additions and 1 deletions

View File

@@ -13,6 +13,10 @@ jobs:
- script: |
set -ex
VERSION=$(cat .version)
echo "${VERSION}"
echo "##vso[build.updatebuildnumber]${VERSION}"
# Rename the folder to openttd-NNN-source
mkdir openttd-$(Build.BuildNumber)
find . -maxdepth 1 -not -name . -not -name openttd-$(Build.BuildNumber) -exec mv {} openttd-$(Build.BuildNumber)/ \;