ci: Use tar.gz compression for unix build assets
This commit is contained in:
parent
1ed3b5b41b
commit
1369e17aa4
|
@ -5,8 +5,6 @@ parameters:
|
||||||
repositoryName: "$(Build.Repository.Name)"
|
repositoryName: "$(Build.Repository.Name)"
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
displayName: "Release to GitHub"
|
displayName: "Release to GitHub"
|
||||||
tarCompression: "none"
|
|
||||||
archiveType: "zip"
|
|
||||||
archiveName: "$(Build.Repository.Name)"
|
archiveName: "$(Build.Repository.Name)"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -45,9 +43,9 @@ jobs:
|
||||||
displayName: Gather assets
|
displayName: Gather assets
|
||||||
inputs:
|
inputs:
|
||||||
rootFolderOrFile: "$(Build.BinariesDirectory)/${{ build_target }}"
|
rootFolderOrFile: "$(Build.BinariesDirectory)/${{ build_target }}"
|
||||||
archiveType: ${{ parameters.archiveType }}
|
archiveType: "tar"
|
||||||
tarCompression: ${{ parameters.tarCompression }}
|
tarCompression: "gz"
|
||||||
archiveFile: "$(Build.ArtifactStagingDirectory)/${{ parameters.archiveName }}-$(build.my_tag)-${{ build_target }}.zip"
|
archiveFile: "$(Build.ArtifactStagingDirectory)/${{ parameters.archiveName }}-$(build.my_tag)-${{ build_target }}.tar.gz"
|
||||||
|
|
||||||
- task: GitHubRelease@0
|
- task: GitHubRelease@0
|
||||||
displayName: Create release
|
displayName: Create release
|
||||||
|
@ -97,9 +95,9 @@ jobs:
|
||||||
displayName: Gather assets
|
displayName: Gather assets
|
||||||
inputs:
|
inputs:
|
||||||
rootFolderOrFile: "$(Build.BinariesDirectory)/${{ build_target }}"
|
rootFolderOrFile: "$(Build.BinariesDirectory)/${{ build_target }}"
|
||||||
archiveType: ${{ parameters.archiveType }}
|
archiveType: "tar"
|
||||||
tarCompression: ${{ parameters.tarCompression }}
|
tarCompression: "gz"
|
||||||
archiveFile: "$(Build.ArtifactStagingDirectory)/${{ parameters.archiveName }}-$(build.my_tag)-${{ build_target }}.zip"
|
archiveFile: "$(Build.ArtifactStagingDirectory)/${{ parameters.archiveName }}-$(build.my_tag)-${{ build_target }}.tar.gz"
|
||||||
|
|
||||||
- task: GitHubRelease@0
|
- task: GitHubRelease@0
|
||||||
displayName: Create release
|
displayName: Create release
|
||||||
|
@ -148,8 +146,8 @@ jobs:
|
||||||
displayName: Gather assets
|
displayName: Gather assets
|
||||||
inputs:
|
inputs:
|
||||||
rootFolderOrFile: "$(Build.BinariesDirectory)/${{ build_target }}"
|
rootFolderOrFile: "$(Build.BinariesDirectory)/${{ build_target }}"
|
||||||
archiveType: ${{ parameters.archiveType }}
|
archiveType: "zip"
|
||||||
tarCompression: ${{ parameters.tarCompression }}
|
tarCompression: "None"
|
||||||
archiveFile: "$(Build.ArtifactStagingDirectory)/${{ parameters.archiveName }}-$(build.my_tag)-${{ build_target }}.zip"
|
archiveFile: "$(Build.ArtifactStagingDirectory)/${{ parameters.archiveName }}-$(build.my_tag)-${{ build_target }}.zip"
|
||||||
|
|
||||||
- task: GitHubRelease@0
|
- task: GitHubRelease@0
|
||||||
|
|
Loading…
Reference in New Issue