1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 13:47:38 +00:00

ci: Use tar.gz compression for unix build assets

This commit is contained in:
Matan Kushner 2019-07-15 00:20:19 -04:00
parent 1ed3b5b41b
commit 1369e17aa4
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -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