Skip to content

Commit

Permalink
build: use perl compatible regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Dec 20, 2024
1 parent 3fe7d13 commit 0a061d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- name: Sign PHAR file using Cosign
run: |
INDEX=$(cosign sign-blob --yes --output-signature n98-magerun2.phar.sig n98-magerun2.phar | grep "tlog entry created with index:" | awk -F': ' '{print $2}')
INDEX=$(cosign sign-blob --yes --output-signature n98-magerun2.phar.sig n98-magerun2.phar | grep -oP "tlog entry created with index: \K[0-9]+")
if [ -z "$INDEX" ]; then
echo "Error: Transparency Log Entry Index not found!" >&2
exit 1
Expand Down

0 comments on commit 0a061d8

Please sign in to comment.