don/.goreleaser.yml

84 lines
1.3 KiB
YAML
Raw Normal View History

2021-06-14 14:48:39 +02:00
---
project_name: "don"
2021-06-14 15:25:55 +02:00
gitea_urls:
2021-06-14 20:07:16 +02:00
api: https://git.xsfx.dev/api/v1/
2021-06-14 15:25:55 +02:00
2021-06-14 14:48:39 +02:00
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:
2021-06-22 12:33:41 +02:00
- format: tar.gz
replacements:
darwin: macos
2021-06-14 14:48:39 +02:00
- format: binary
2021-06-22 12:33:41 +02:00
id: only-binary
2021-06-14 14:48:39 +02:00
replacements:
darwin: macos
2021-06-14 15:06:39 +02:00
release:
2021-06-22 12:33:41 +02:00
github:
2021-06-14 15:06:39 +02:00
owner: xsteadfastx
name: don
2021-06-22 12:33:41 +02:00
brews:
- name: don
tap:
owner: xsteadfastx
name: homebrew-tap
commit_author:
name: Marvin Steadfast
email: marvin@xsteadfastx.org
homepage: https://git.xsfx.dev/xsteadfastx/don
install: |
bin.install "don"
test: |
system "#{bin}/don version"
gomod:
proxy: true