From b247d3dfec88470e988fe6075c0d49c2a2794700 Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Sat, 9 Jan 2021 17:06:54 +0100 Subject: [PATCH] Add signature generation Signed-off-by: Lukas Bachschwell --- .goreleaser.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6aee929..4ef447d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -22,6 +22,22 @@ changelog: 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", "", "--output", "${signature}", "--detach-sign", "${artifact}"] + # + # defaults to `["--output", "${signature}", "--detach-sign", "${artifact}"]` + args: ["dgst", "-sha256", "-sign", "privkey.pem", "${artifact}.sig", "${artifact}"] + artifacts: all gitea_urls: api: https://git.lbsfilm.at/api/v1/ download: https://git.lbsfilm.at