Fixed the format of the compressed files

pull/3528/head
tidusjar 5 years ago
parent 7385aa82f2
commit 2a31d3a437

@ -18,16 +18,22 @@ stages:
matrix: matrix:
win10-x64: win10-x64:
runtime: win10-x64 runtime: win10-x64
format: zip
win10-x86: win10-x86:
runtime: win10-x86 runtime: win10-x86
format: zip
osx-x64: osx-x64:
runtime: osx-x64 runtime: osx-x64
format: tar.gz
linux-x64: linux-x64:
runtime: linux-x64 runtime: linux-x64
format: tar.gz
linux-arm: linux-arm:
runtime: linux-arm runtime: linux-arm
format: tar.gz
linux-arm64: linux-arm64:
runtime: linux-arm64 runtime: linux-arm64
format: tar.gz
pool: pool:
vmImage: ${{ variables.vmImage }} vmImage: ${{ variables.vmImage }}
steps: steps:

@ -27,7 +27,7 @@ steps:
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/$(runtime)' rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/$(runtime)'
includeRootFolder: false includeRootFolder: false
archiveType: 'zip' archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/$(runtime).zip' archiveFile: '$(Build.ArtifactStagingDirectory)/$(runtime).$(format)'
replaceExistingArchive: true replaceExistingArchive: true
- task: PublishPipelineArtifact@1 - task: PublishPipelineArtifact@1

@ -25,6 +25,3 @@ variables:
- name: "BuildVersion" - name: "BuildVersion"
value: "4.0.$(Build.BuildId)" value: "4.0.$(Build.BuildId)"
- name: "ReleaseNotes"
value: ""
Loading…
Cancel
Save