pominal/.goreleaser.yml

51 lines
848 B
YAML
Raw Normal View History

---
project_name: pominal
before:
hooks:
- go mod download
builds:
- binary: pominal
env:
- CGO_ENABLED=0
flags:
- -a
- -v
goarch:
- 386
- amd64
goos:
- linux
id: pominal-build
ldflags:
- s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X main.goversion={{.Env.GOVERSION}}
archives:
- files:
- LICENSE
- README.md
format: tar.gz
id: pominal-archive
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
replacements:
386: i386
amd64: x86_64
wrap_in_directory: true
checksum:
algorithm: sha256
name_template: "{{ .ProjectName }}-{{ .Version }}-CHECKSUMS.txt"
snapshot:
name_template: "SNAPSHOT-{{ .ShortCommit }}"
changelog:
sort: desc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- "^ci:"