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
2 people authored and github-actions committed Dec 21, 2022
1 parent 3caf5a5 commit 08332fc
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 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,31 +12,18 @@ 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
changelog:
groups:
- title: 'New Features'
Expand All @@ -45,6 +37,3 @@ changelog:
order: 2
- title: 'Other'
order: 999
release:
prerelease: auto
mode: append

0 comments on commit 08332fc

Please sign in to comment.