srpmproc/.goreleaser.yml

38 lines
669 B
YAML

before:
hooks:
- go mod tidy
builds:
- main: ./cmd/srpmproc
binary: srpmproc
ldflags:
- -s -w
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- s390x
- ppc64le
- riscv64
archives:
- name_template: >-
{{- .ProjectName }}_
{{- .Version }}
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "arm64" }}aarch64
{{- else }}{{ .Arch }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'