We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19723f3 + e24faa5 commit 665b8c8Copy full SHA for 665b8c8
1 file changed
.github/workflows/release.yml
@@ -74,7 +74,7 @@ jobs:
74
# so gh release upload by version tag returns 404. Look up the
75
# actual tag GitHub assigned to the draft.
76
release_tag=$(gh api "repos/${{ github.repository }}/releases" \
77
- --jq '[.[] | select(.draft and .name == "${{ steps.version.outputs.tag }}")] | first | .tag_name')
+ --jq '[.[] | select(.draft and .tag_name == "${{ steps.version.outputs.tag }}")] | first | .tag_name')
78
if [ -z "$release_tag" ] || [ "$release_tag" = "null" ]; then
79
echo "::error::Could not find draft release for ${{ steps.version.outputs.tag }}"
80
exit 1
0 commit comments