Skip to content

Commit

Permalink
Merge pull request #714 from nokia/change-archive-format-for-windows
Browse files Browse the repository at this point in the history
change archive format for windows to zip
  • Loading branch information
moosq authored Oct 23, 2023
2 parents dc43b03 + 19bd72b commit 4284966
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ jobs:
$env:PATH += ";C:\hub\bin"
- name: Download ntt.exe
id: download_exe
shell: bash
run: |
hub.exe release download "${GITHUB_REF#refs/tags/}" -i ntt_Windows_x86_64.tar.gz
printf "::set-output name=zip::%s\n" *.tar.gz
tar xzf ntt_Windows_x86_64.tar.gz && rm ntt_Windows_x86_64.tar.gz
$env:PATH += ";C:\hub\bin"
hub.exe release download "${GITHUB_REF#refs/tags/}" -i ntt_Windows_x86_64.zip
Expand-Archive ntt_Windows_x86_64.zip
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Install go-msi
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ archives:
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit 4284966

Please sign in to comment.