amseltools/.goreleaser.yaml
Marvin Preuss 617a16b19c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
build: no archives
2023-03-30 11:28:19 +00:00

44 lines
848 B
YAML

gitea_urls:
api: https://git.xsfx.dev/api/v1/
download: https://git.xsfx.dev
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s
- -w
- -extldflags '-static'
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
goos:
- linux
- windows
goarch:
- amd64
archives:
- format: binary
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'
- '^ci:'
- '^debug:'
release:
gitea:
owner: xsteadfastx
name: amseltools