Skip to content

Commit d7dc5fe

Browse files
committed
Revert "chore: release script - push tag and commit manually (#8897)"
This reverts commit 4157a6d.
1 parent f538318 commit d7dc5fe

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lerna-publish.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,4 @@ BUMP=$1
1111
if [ "x$BUMP" == "x" ]; then
1212
BUMP=patch
1313
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-
# Lerna uses single push for commit & tag, that's why --no-push is passed and pushed manually
18-
yarn lerna version --create-release=github --conventional-commits --exact --no-push $BUMP
19-
git push -u origin HEAD
20-
# commitdate doesn't work with lerna tags :( version:refname is not an option, because we have LTS branches
21-
git push origin v$(cat lerna.json | jq -r '.version')
14+
yarn lerna version --create-release=github --conventional-commits --exact $BUMP

0 commit comments

Comments
 (0)