Skip to content

Commit e7e941f

Browse files
fix release pipeline
1 parent fbba265 commit e7e941f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
with:
2626
gpg_private_key: ${{ secrets.RELEASE_SIGNING_KEY }}
2727
passphrase: ${{ secrets.RELEASE_SIGNING_KEY_PASSPHRASE }}
28-
28+
29+
- name: Set GPG_TTY
30+
run: echo "GPG_TTY=$(tty)" >> $GITHUB_ENV
31+
2932
- name: Run GoReleaser
3033
uses: goreleaser/goreleaser-action@v2
3134
with:
@@ -34,3 +37,4 @@ jobs:
3437
env:
3538
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
3639
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
GPG_TTY: ${{ env.GPG_TTY }}

0 commit comments

Comments
 (0)