don/.goreleaser.yml

59 lines
874 B
YAML
Raw Normal View History

2021-06-14 14:48:39 +02:00
---
project_name: "don"
builds:
- main: ./cmd
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 5
- 6
- 7
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
- "-X go.xsfx.dev/don/cmd/cmds.date={{.Date}}"
- "-X go.xsfx.dev/don/cmd/cmds.commit={{.ShortCommit}}"
- "-X go.xsfx.dev/don/cmd/cmds.version={{.Version}}"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{.Tag}}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^lint:"
- "^meta:"
- "^deployment"
- "happy linting"
- "prepares release"
archives:
- format: binary
replacements:
darwin: macos
2021-06-14 15:06:39 +02:00
release:
gitea:
owner: xsteadfastx
name: don