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.
1 parent ada06f9 commit c090c1aCopy full SHA for c090c1a
1 file changed
.github/workflows/on-pre-release.yaml
@@ -51,8 +51,8 @@ jobs:
51
# This step validates that the tag is an official release
52
run: |
53
prerelease=$(gh release view ${{ github.ref_name }} --json isPrerelease | jq -r '.isPrerelease')
54
- if [ "$prerelease" != "false" ]; then
55
- echo "Tag is not an official release"
+ if [ "$prerelease" != "true" ]; then
+ echo "Tag is not a release candidate"
56
exit 1
57
fi
58
0 commit comments