Skip to content

Commit 2985de6

Browse files
update publish.sh
1 parent 71eb41c commit 2985de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ if [ "$RELEASE_CANDIDATE" = true ]
1818
then
1919
RC=$(git tag | grep "v$MAJOR.$MINOR.$PATCH-rc" | wc -l || true);
2020
fi
21-
if [ "$VERSION_CHANGE" = "MINOR" && "$RC" = 0 ]
21+
if [ "$VERSION_CHANGE" = "MINOR" && $RC = 0 ]
2222
then
2323
MINOR=$((MINOR+1));
2424
PATCH=0;
2525
fi;
26-
if [ "$VERSION_CHANGE" = "PATCH" && "$RC" = 0 ]
26+
if [ "$VERSION_CHANGE" = "PATCH" && $RC = 0 ]
2727
then
2828
PATCH=$((PATCH+1));
2929
fi;

0 commit comments

Comments
 (0)