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 bb86016 commit 3132f3dCopy full SHA for 3132f3d
lerna-publish.sh
@@ -1,12 +1,6 @@
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
lerna.json
@@ -5,6 +5,9 @@
"bootstrap": {
"npmClient": "yarn",
"npmClientArgs": ["--frozen-lockfile"]
+ },
+ "version": {
+ "allowBranch": ["master", "lts/*"]
}
},
13
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
0 commit comments