Fixed the format of the compressed files

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

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

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

@ -24,7 +24,4 @@ variables:
value: "$(Build.SourcesDirectory)/src/Ombi/ClientApp/"
- name: "BuildVersion"
value: "4.0.$(Build.BuildId)"
- name: "ReleaseNotes"
value: ""
value: "4.0.$(Build.BuildId)"
Loading…
Cancel
Save