distribusi-go/.goreleaser.yaml

61 lines
930 B
YAML

---
project_name: distribusi
gitea_urls:
api: https://git.vvvvvvaria.org/api/v1
download: https://git.vvvvvvaria.org/
skip_tls_verify: false
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 5
- 6
- 7
ldflags:
- "-X 'main.Version={{ .Version }}'"
- "-X 'main.Commit={{ .Commit }}'"
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: binary
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-alpha"
changelog:
sort: asc
filters:
exclude:
- "^Revert"
- "^build:"
- "^docs:"
- "^refactor:"
- "^test:"
- "^tests:"
- "^wip:"