Skip to content

Commit 3091c89

Browse files
committed
Fixed release
1 parent 9326ade commit 3091c89

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,14 @@ jobs:
4040
gpg -K
4141
gpg --version
4242
touch /tmp/gpg.txt
43-
gpg --batch --local-user $(GPG_FINGERPRINT) --output /tmp/gpg.encr --detach-sign /tmp/gpg.txt
43+
gpg --batch --local-user 9A527B0CAD0E901F31EEB42D52E226496EF37A77 --output /tmp/gpg.encr --detach-sign /tmp/gpg.txt
4444
env:
45-
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
4645
- name: Run GoReleaser
47-
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
46+
# uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
47+
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
4848
with:
4949
args: release --clean --release-notes /tmp/release-notes.txt
5050
env:
5151
# GitHub sets the GITHUB_TOKEN secret automatically.
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
54-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
55-
# GPG_TTY: tty

.goreleaser.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ signs:
3737
# if you are using this in a GitHub action or some other automated pipeline, you
3838
# need to pass the batch flag to indicate its not interactive.
3939
- "--batch"
40-
- "--passphrase"
41-
- "{{ .Env.GPG_PASSPHRASE }}"
4240
- "--local-user"
4341
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
4442
- "--output"

0 commit comments

Comments
 (0)