Skip to content

Commit

Permalink
added tar.gz archive for windows (#1474)
Browse files Browse the repository at this point in the history
Co-authored-by: Nasir Rabbani <[email protected]>
  • Loading branch information
nasir-rabbani and Nasir Rabbani authored Dec 2, 2022
1 parent d031a56 commit 1a46070
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
Expand Down
7 changes: 6 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ archives:
windows: Windows
386: i386
amd64: x86_64
# for windows it is good to have zip rather than tar.gz
# for windows it is good to have zip along with tar.gz
- id: win_zip
replacements:
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 1a46070

Please sign in to comment.