Skip to content

Commit

Permalink
ci: Update goreleaser to add zip support. (#285)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Buchholz <[email protected]>
  • Loading branch information
yodigi7 and anthony-perficient authored Jan 7, 2025
1 parent 6309f2b commit 252d542
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ builds:
- -s -w -X 'github.com/achannarasappa/ticker/v4/cmd.Version={{.Version}}'
archives:
- id: release
format: zip
name_template: >-
{{- .ProjectName }}-
{{- .Version }}-
{{- if eq .Os "darwin" }}mac
{{- else}}{{ .Os }}{{ end }}-
{{- .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
{{- if .Mips }}-{{ .Mips }}{{ end }}
- id: tar-release
format: tar.gz
name_template: >-
{{- .ProjectName }}-
{{- .Version }}-
Expand Down

0 comments on commit 252d542

Please sign in to comment.