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 66177f0 commit 018ff82Copy full SHA for 018ff82
lerna-publish.sh
@@ -12,6 +12,9 @@ if [ "x$BUMP" == "x" ]; then
12
BUMP=patch
13
fi
14
15
+# In publish workflow we need to detect branch for tags from github.event.base_ref
16
+# It's possible only when GitHub receives information of tag from separate push
17
yarn lerna version --create-release=github --conventional-commits --exact --no-push $BUMP
18
git push -u origin HEAD
-git push origin $(git tag --sort=committerdate | grep -E '[0-9]' | tail -1)
19
+# commitdate doesn't work with lerna tags :( so we have to sort by version)
20
+git push origin $(git tag --sort version:refname | tail -1)
0 commit comments