Skip to content

Commit

Permalink
ci: attempt to fix gpg signing
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Dec 5, 2022
1 parent ed5a85b commit 8102312
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: configure GPG TTY
run: export GPG_TTY=$(tty)

- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ before:
- go generate ./...
signs:
- artifacts: checksum
args: ["--use-agent", "--armor", "--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
signature: "${artifact}.gpg"
builds:
- id: "covermyass"
Expand Down

0 comments on commit 8102312

Please sign in to comment.