chore: add goreleaser config file
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
builds:
|
||||
- flags:
|
||||
- -trimpath
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- darwin
|
||||
- linux
|
||||
- windows
|
||||
goarch:
|
||||
- 386
|
||||
- amd64
|
||||
- arm
|
||||
- arm64
|
||||
ignore:
|
||||
- goos: darwin
|
||||
goarch: 386
|
||||
archives:
|
||||
- format: binary
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
checksum:
|
||||
name_template: '{{ .ProjectName }}-{{ .Version }}-SHA512SUMS'
|
||||
algorithm: sha512
|
||||
snapshot:
|
||||
name_template: "{{ .Tag }}-next"
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
signs:
|
||||
- artifacts: checksum
|
||||
signature: "${artifact}.GPG"
|
||||
args: ["--batch", "--local-user", "release-bot@kapow", "--output", "${signature}", "--armor", "--clear-sign", "${artifact}"]
|
||||
Reference in New Issue
Block a user