srpmproc/.goreleaser.yml

37 lines
662 B
YAML
Raw Normal View History

2021-06-08 18:17:01 +00:00
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/srpmproc
binary: srpmproc
2021-06-08 18:41:32 +00:00
ldflags:
- -s -w
2021-06-08 18:17:01 +00:00
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
2021-06-08 18:24:13 +00:00
goarch:
- amd64
- arm64
2022-06-03 17:56:05 +00:00
- s390x
- ppc64le
2021-06-08 18:17:01 +00:00
archives:
2023-10-06 06:05:29 +00:00
- name_template: >-
{{- .ProjectName }}_
2023-10-06 06:13:19 +00:00
{{- .Version }}
2023-10-06 06:05:29 +00:00
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "arm64" }}aarch64
2023-10-06 06:13:19 +00:00
{{- else }}{{ .Arch }}{{ end }}{{ end -}}
2021-06-08 18:17:01 +00:00
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'