add goreleaser file
This commit is contained in:
parent
4c99baeed8
commit
d4b6de4329
1 changed files with 29 additions and 0 deletions
29
cmd/.goreleaser.yaml
Normal file
29
cmd/.goreleaser.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
hooks:
|
||||
post:
|
||||
- upx "{{ .Path }}"
|
||||
archives:
|
||||
- replacements:
|
||||
linux: Linux
|
||||
amd64: x86_64
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
name_template: "{{ incpatch .Version }}-next"
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
|
||||
# modelines, feel free to remove those if you don't want/use them:
|
||||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
||||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
Loading…
Add table
Add a link
Reference in a new issue