azure: Set build number in a separate task for diff
This commit is contained in:
@@ -43,9 +43,12 @@ jobs:
|
|||||||
itemPattern: 'bundles/openttd-*-source.tar.xz'
|
itemPattern: 'bundles/openttd-*-source.tar.xz'
|
||||||
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
downloadPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
- bash: |
|
- bash: |
|
||||||
set -ex
|
set -e
|
||||||
VERSION=$(cat .version)
|
VERSION=$(cat .version)
|
||||||
echo "##vso[build.updatebuildnumber]${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
|
curl -L https://proxy.binaries.openttd.org/openttd-releases/${VERSION}/openttd-${VERSION}-source.tar.xz > vanilla-source.tar.xz
|
||||||
displayName: 'Download vanilla'
|
displayName: 'Download vanilla'
|
||||||
- bash: |
|
- bash: |
|
||||||
|
|||||||
Reference in New Issue
Block a user