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 6e6a924 commit df1c9acCopy full SHA for df1c9ac
lerna-publish.sh
@@ -1,14 +1,8 @@
1
#!/bin/bash
2
. .gh-token
3
4
-BRANCH="$(git rev-parse --abbrev-ref HEAD)"
5
-if [[ "$BRANCH" != "master" ]]; then
6
- echo 'Must be run from the master branch';
7
- exit 1;
8
-fi
9
-
10
BUMP=$1
11
if [ "x$BUMP" == "x" ]; then
12
BUMP=patch
13
fi
14
-yarn lerna version --create-release=github --conventional-commits --exact $BUMP
+yarn lerna version --create-release=github --conventional-commits --force-publish --exact $BUMP
lerna.json
@@ -13,6 +13,12 @@
"npmClientArgs": [
"--frozen-lockfile"
15
]
16
+ },
17
+ "version": {
18
+ "allowBranch": [
19
+ "master",
20
+ "lts/*"
21
+ ]
22
}
23
24
0 commit comments