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 f866b71 commit 6d4994aCopy full SHA for 6d4994a
.github/scripts/publish.sh
@@ -11,7 +11,7 @@ fi;
11
LAST_TAG=$(git tag | tail -n 1);
12
MAJOR=$(echo $LAST_TAG | sed -E 's/v([0-9]+)\..*/\1/');
13
MINOR=$(echo $LAST_TAG | sed -E 's/v[0-9]+\.([0-9]+)\..*/\1/');
14
-PATCH=$(echo $LAST_TAG | sed -E 's/v[0-9]+\.[0-9]+\.([0-9]+)-rc[0-9]+/\1/');
+PATCH=$(echo $LAST_TAG | sed -E 's/v[0-9]+\.[0-9]+\.([0-9]+)($|-rc[0-9]+)/\1/');
15
RC=0;
16
17
if [ "$RELEASE_CANDIDATE" = true ]
0 commit comments