azure: Use build number instead of version when downloading vanill source

This commit is contained in:
Pavel Stupnikov
2019-04-01 01:33:56 +03:00
parent 4c0a39eec5
commit 0bbd08d3bd

View File

@@ -49,7 +49,7 @@ jobs:
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
curl -L https://proxy.binaries.openttd.org/openttd-releases/$(Build.BuildNumber)/openttd-$(Build.BuildNumber)-source.tar.xz > vanilla-source.tar.xz
displayName: 'Download vanilla'
- bash: |
set -ex