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 e3a7f04 commit f97351eCopy full SHA for f97351e
.github/scripts/publish.sh
@@ -26,7 +26,7 @@ then
26
fi;
27
if [ "$RELEASE_CANDIDATE" = true ]
28
then
29
- RC=$(git tag | grep "v$MAJOR.$MINOR.$PATCH-rc" | wc -l);
+ RC=$(git tag | grep "v$MAJOR.$MINOR.$PATCH-rc" | wc -l || true);
30
TAG="v$MAJOR.$MINOR.$PATCH-rc$RC";
31
else
32
sed -e "s/Minor = [0-9]*/Minor = $MINOR/g" -i $VERSION_FILE
0 commit comments