Skip to content

Commit

Permalink
goreleaser: Generate key ID suffixed sig files (hashicorp#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Apr 23, 2021
1 parent c665d9d commit e13d061
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ checksum:

signs:
-
id: with_key_id
signature: "${artifact}.{{ .Env.PGP_USER_ID }}.sig"
args: ["-u", "{{ .Env.PGP_USER_ID }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
artifacts: checksum
-
id: default
signature: "${artifact}.sig"
args: ["-u", "{{ .Env.PGP_USER_ID }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
artifacts: checksum

Expand Down

0 comments on commit e13d061

Please sign in to comment.