2021-01-09 15:28:08 +00:00
|
|
|
# This is an example goreleaser.yaml file with some sane defaults.
|
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
- go generate ./...
|
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
archives:
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|
2021-01-09 16:06:54 +00:00
|
|
|
signs:
|
|
|
|
- id: selfupdatesign
|
|
|
|
|
|
|
|
# path to the signature command
|
|
|
|
#
|
|
|
|
# defaults to `gpg`
|
|
|
|
cmd: openssl
|
|
|
|
|
|
|
|
# command line templateable arguments for the command
|
|
|
|
#
|
|
|
|
# to sign with a specific key use
|
|
|
|
# args: ["-u", "<key id, fingerprint, email, ...>", "--output", "${signature}", "--detach-sign", "${artifact}"]
|
|
|
|
#
|
|
|
|
# defaults to `["--output", "${signature}", "--detach-sign", "${artifact}"]`
|
|
|
|
args: ["dgst", "-sha256", "-sign", "privkey.pem", "${artifact}.sig", "${artifact}"]
|
|
|
|
artifacts: all
|
2021-01-09 15:28:08 +00:00
|
|
|
gitea_urls:
|
|
|
|
api: https://git.lbsfilm.at/api/v1/
|
|
|
|
download: https://git.lbsfilm.at
|