goselfupdatetest/.goreleaser.yml
Lukas Bachschwell 87e3294f23
fix openssl command
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2021-01-09 17:47:58 +01:00

45 lines
1.1 KiB
YAML

# 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:'
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", "-out", "${artifact}.sig", "${artifact}"]
artifacts: all
gitea_urls:
api: https://git.lbsfilm.at/api/v1/
download: https://git.lbsfilm.at