Skip to content

Commit df1c9ac

Browse files
committed
chore(dev-scripts): update lerna publishing to force publish all packages
1 parent 6e6a924 commit df1c9ac

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lerna-publish.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
#!/bin/bash
22
. .gh-token
33

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-
104
BUMP=$1
115
if [ "x$BUMP" == "x" ]; then
126
BUMP=patch
137
fi
14-
yarn lerna version --create-release=github --conventional-commits --exact $BUMP
8+
yarn lerna version --create-release=github --conventional-commits --force-publish --exact $BUMP

lerna.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
"npmClientArgs": [
1414
"--frozen-lockfile"
1515
]
16+
},
17+
"version": {
18+
"allowBranch": [
19+
"master",
20+
"lts/*"
21+
]
1622
}
1723
}
1824
}

0 commit comments

Comments
 (0)