Skip to content

Commit c090c1a

Browse files
authored
fix: pre release condition (#1380)
1 parent ada06f9 commit c090c1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/on-pre-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
# This step validates that the tag is an official release
5252
run: |
5353
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"
54+
if [ "$prerelease" != "true" ]; then
55+
echo "Tag is not a release candidate"
5656
exit 1
5757
fi
5858

0 commit comments

Comments
 (0)