From d43c04212cea613b884bae6b46fce0a89d1756ea Mon Sep 17 00:00:00 2001 From: Pavel Stupnikov Date: Sun, 31 Mar 2019 03:56:50 +0300 Subject: [PATCH] azure: update version before making source bundle --- .version | 2 +- azure-pipelines.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.version b/.version index d0897e8548..889b606184 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.9.0-beta2 +1.9.0-RC2 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fd8918cd5d..0c9ca7ad53 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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)/ \;