Skip to content

Commit

Permalink
Update goreleaser config to work with Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
loafoe committed May 23, 2021
1 parent 53cfa34 commit 05c4e84
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,9 @@ checksum:
algorithm: sha256
signs:
- artifacts: checksum
cmd: gpg2
args:
# if you are using this is a GitHub action or some other automated pipeline, you
# need to pass the batch flag to indicate its not interactive.
- "--batch"
- "--pinentry-mode"
- "loopback"
- "--passphrase-file=/tmp/pass.txt"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
#release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
skip: true
skip: true

0 comments on commit 05c4e84

Please sign in to comment.