Skip to content

Commit 2c29ce9

Browse files
committed
Verify signed tag
Signed-off-by: Stefan Prodan <[email protected]>
1 parent cc213e7 commit 2c29ce9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ jobs:
3636
- name: Verify signed release
3737
if: startsWith(github.ref, 'refs/tags/v')
3838
run: |
39-
if git -P show ${GITHUB_REF_NAME} | grep -q 'END PGP SIGNATURE'; then
40-
echo "PGP signature found for ${GITHUB_REF_NAME} tag."
41-
else
39+
if git tag -v ${GITHUB_REF_NAME} | grep 'no signature found'; then
4240
echo "No PGP signature found for tag ${GITHUB_REF_NAME}. Aborting release process..."
4341
exit 1
4442
fi

0 commit comments

Comments
 (0)