Skip to content

Commit

Permalink
Update pgp-sign-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-kaufman committed Sep 11, 2024
1 parent 754cd57 commit 7938c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pgp-sign-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "Version: $version"
releases=$(gh release list --limit 20 --json tagName,name,isDraft,isPrerelease)
releaseInfo=$(echo "$releases" | jq -r '.[] | select(.isDraft == true and (.tagName | startswith("v'"$version"'"))) | .tagName' | head -n1)
releaseInfo=$(echo "$releases" | jq -r '.[] | select(.isDraft == true and (.tagName | contains("'"$version"'"))) | .tagName' | head -n1)
if [ -z "$releaseInfo" ]; then
echo "Error: Could not find a draft release for version $version"
Expand Down

0 comments on commit 7938c66

Please sign in to comment.