Skip to content

Commit 087f619

Browse files
committed
add release comments
1 parent 420b13a commit 087f619

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
4242
passphrase: ${{ secrets.GPG_PASSPHRASE }}
4343

44+
# nfpm-rpm signing needs gpg provided as filepath
45+
# https://goreleaser.com/customization/nfpm/
4446
- name: Create GPG key file
4547
run: |
4648
echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg-private-key.asc
@@ -77,6 +79,7 @@ jobs:
7779
GITHUB_TOKEN: ${{ secrets.CLI_RELEASE }}
7880
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
7981
GPG_KEY_PATH: ./gpg-private-key.asc
82+
# nfpm-rpm signing needs this env to be set.
8083
NFPM_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
8184

8285
- name: Clean up GPG key file

0 commit comments

Comments
 (0)