We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb099fa + a92d965 commit cc213e7Copy full SHA for cc213e7
.github/workflows/release.yaml
@@ -36,8 +36,12 @@ jobs:
36
- name: Verify signed release
37
if: startsWith(github.ref, 'refs/tags/v')
38
run: |
39
- git -P show ${GITHUB_REF_NAME} | grep -q 'PGP SIGNATURE' || \
40
- { echo "No PGP signature found for tag ${GITHUB_REF_NAME}. Aborting release process..."; exit 1; }
+ if git -P show ${GITHUB_REF_NAME} | grep -q 'END PGP SIGNATURE'; then
+ echo "PGP signature found for ${GITHUB_REF_NAME} tag."
41
+ else
42
+ echo "No PGP signature found for tag ${GITHUB_REF_NAME}. Aborting release process..."
43
+ exit 1
44
+ fi
45
- name: Prepare
46
id: prep
47
0 commit comments