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 4164348 commit c37f4baCopy full SHA for c37f4ba
.github/scripts/publish.sh
@@ -8,7 +8,7 @@ then
8
exit 1;
9
fi;
10
11
-LAST_TAG=$(git tag | tail -n 1);
+LAST_TAG=$(git tag --sort=-creatordate | head -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/');
0 commit comments