diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ca6db7df40..0aaedd4a32 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,24 +43,24 @@ jobs: downloadType: specific itemPattern: 'bundles/openttd-*-source.tar.xz' downloadPath: '$(Build.ArtifactStagingDirectory)' - displayName: 'Download vanilla' - bash: | set -ex VERSION=$(cat .version) wget curl -L https://proxy.binaries.openttd.org/openttd-releases/${VERSION}/openttd-${VERSION}-source.tar.xz > vanilla-source.tar.xz - displayName: 'Extract sources' + displayName: 'Download vanilla' - bash: | set -ex mkdir vanilla tar --xz -xf vanilla-source.tar.xz --strip-components=1 -C vanilla mkdir cmclient tar --xz -xf ../a/bundles/openttd-*-source.tar.xz --strip-components=1 -C cmclient - displayName: 'Make diff' + displayName: 'Extract sources' - bash: | set -ex mkdir bundles diff -r vanilla cmclient -B -X .diff-exclude > bundles/citymania-client-$(Build.BuildNumber).diff + displayName: 'Make diff' - task: PublishBuildArtifacts@1 displayName: 'Publish bundles' inputs: