ci: attempt to fix gpg signing

pull/10/head v2.0.0-beta4
sundowndev 2022-12-05 13:03:46 +04:00
parent ed5a85be5f
commit 8102312ef0
2 changed files with 4 additions and 1 deletions

View File

@ -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/goreleaser-action@v3.0.0
with:

View File

@ -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"