Skip to content

Commit

Permalink
patch: customize goreleaser configuration
Browse files Browse the repository at this point in the history
Build linux, darwin for x64 and arm64.

Co-authored-by: Björn Brauer <[email protected]>
  • Loading branch information
KnisterPeter and ZauberNerd committed Nov 30, 2021
1 parent b910a42 commit bbecb47
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
release:
github:
owner: xing
name: act

before:
hooks:
- go mod tidy
Expand All @@ -7,28 +12,15 @@ builds:
goos:
- darwin
- linux
- windows
goarch:
- amd64
- 386
- arm64
- arm
goarm:
- 6
- 7
ignore:
- goos: windows
goarm: 6
checksum:
name_template: 'checksums.txt'
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
arm64: arm64
amd64: x86_64
format_overrides:
- goos: windows
format: zip

0 comments on commit bbecb47

Please sign in to comment.