linkwallet/.goreleaser.yaml

40 lines
938 B
YAML
Raw Normal View History

2022-05-24 18:03:31 +09:30
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- main: cmd/linkwallet/linkwallet.go
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
dockers:
- image_templates:
- "tardisx/linkwallet:{{ .Tag }}"
- "tardisx/linkwallet:v{{ .Major }}"
- "tardisx/linkwallet:v{{ .Major }}.{{ .Minor }}"
- "tardisx/linkwallet"
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'