mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-11-12 16:21:25 +00:00
38 lines
669 B
YAML
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:'
|