Skip to content

Commit

Permalink
Updated goreleaser settings
Browse files Browse the repository at this point in the history
Removed arm v6 and v7 builds.
Use macos instead of darwin.
Use build IDs so it is easier to add new builds.
  • Loading branch information
igolaizola committed Jun 12, 2023
1 parent 709aea9 commit 58f7f02
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
builds:
- binary: goobar
- id: goobar
binary: goobar
main: ./cmd/goobar
goarch:
- "386"
- amd64
- arm64
- arm
goarm:
- "6"
- "7"
archives:
- format: zip
- id: goobar
builds:
- goobar
format: zip
name_template: 'goobar_{{ .Version }}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_{{ .Arch }}'

0 comments on commit 58f7f02

Please sign in to comment.