Skip to content

Commit 6f8e7fe

Browse files
authored
Merge pull request #79 from fluxcd/check-tag
Verify signed tag
2 parents cc213e7 + 2c29ce9 commit 6f8e7fe

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)