44 lines
848 B
YAML
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
|