From 4c0a39eec55e337f351af214e94855ffa4afe4d2 Mon Sep 17 00:00:00 2001 From: Pavel Stupnikov Date: Mon, 1 Apr 2019 01:28:00 +0300 Subject: [PATCH] azure: Set build number in a separate task for diff --- azure-pipelines.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2fb321d91d..f536277f2c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,9 +43,12 @@ jobs: itemPattern: 'bundles/openttd-*-source.tar.xz' downloadPath: '$(Build.ArtifactStagingDirectory)' - bash: | - set -ex + set -e VERSION=$(cat .version) echo "##vso[build.updatebuildnumber]${VERSION}" + displayName: 'Change BuildNumber to version' + - bash: | + set -ex curl -L https://proxy.binaries.openttd.org/openttd-releases/${VERSION}/openttd-${VERSION}-source.tar.xz > vanilla-source.tar.xz displayName: 'Download vanilla' - bash: |