2022-08-09 15:05:06 +00:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy
|
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
2022-08-10 14:39:32 +00:00
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
- arm
|
|
|
|
goarm:
|
2023-02-27 12:53:48 +00:00
|
|
|
- "6"
|
|
|
|
- "7"
|
2022-08-10 14:39:32 +00:00
|
|
|
ignore:
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm64
|
|
|
|
main: ./cmd/bazaar
|
|
|
|
ldflags:
|
|
|
|
- -s -w
|
2022-08-09 15:05:06 +00:00
|
|
|
archives:
|
2023-02-27 12:53:48 +00:00
|
|
|
- rlcp: true
|
|
|
|
name_template: >-
|
|
|
|
{{ .ProjectName }}-
|
|
|
|
{{ .Version }}
|
|
|
|
{{ .Os }}-
|
|
|
|
{{- if eq .Arch "amd64" }}x86_64
|
|
|
|
{{- else if eq .Arch "darwin" }}macos
|
|
|
|
{{- else if eq .Arch "386" }}i386
|
|
|
|
{{- else }}{{ .Arch }}{{ end }}
|
2022-08-09 15:05:06 +00:00
|
|
|
source:
|
|
|
|
enabled: true
|
|
|
|
name_template: "{{ .ProjectName }}-{{ .Version }}-sources"
|
|
|
|
format: "tar.gz"
|
|
|
|
checksum:
|
|
|
|
name_template: "checksums.txt"
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-dev"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- "^docs:"
|
|
|
|
- "^test:"
|