Skip to content

Commit 137f0f1

Browse files
dev: fixed publish.sh & publish-ef.sh
1 parent 1d3c5a4 commit 137f0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ then
88
exit 1;
99
fi;
1010

11-
LAST_TAG=$(git tag --sort=-creatordate | sed -E 's/^ef-//' | head -n 1);
11+
LAST_TAG=$(git tag --sort=-creatordate | grep -v '^ef-' | head -n 1);
1212
MAJOR=$(echo $LAST_TAG | sed -E 's/v([0-9]+)\..*/\1/');
1313
MINOR=$(echo $LAST_TAG | sed -E 's/v[0-9]+\.([0-9]+)\..*/\1/');
1414
PATCH=$(echo $LAST_TAG | sed -E 's/v[0-9]+\.[0-9]+\.([0-9]+)($|-rc[0-9]+)/\1/');

0 commit comments

Comments
 (0)