Skip to content

Commit d2b16b4

Browse files
committed
BUMP parameter for publish
1 parent 7d75b1e commit d2b16b4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lerna-publish.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/bin/bash
22
. .gh-token
3-
lerna publish --github-release --conventional-commits
3+
BUMP=$1
4+
if [ "x$BUMP" == "x" ]; then
5+
BUMP=patch
6+
fi
7+
lerna publish --github-release --conventional-commits $BUMP

0 commit comments

Comments
 (0)