don/.goreleaser.yml
Marvin Steadfast b5182bfb9c
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
ci: adds gitea api url
2021-06-14 15:25:55 +02:00

62 lines
922 B
YAML

---
project_name: "don"
gitea_urls:
api: https://git.xsfx.dev/api/v1
builds:
- main: ./cmd
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 5
- 6
- 7
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
- "-X go.xsfx.dev/don/cmd/cmds.date={{.Date}}"
- "-X go.xsfx.dev/don/cmd/cmds.commit={{.ShortCommit}}"
- "-X go.xsfx.dev/don/cmd/cmds.version={{.Version}}"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{.Tag}}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^lint:"
- "^meta:"
- "^deployment"
- "happy linting"
- "prepares release"
archives:
- format: binary
replacements:
darwin: macos
release:
gitea:
owner: xsteadfastx
name: don