diff --git a/lerna.json b/lerna.json index 735c11987a..76ba57e03f 100644 --- a/lerna.json +++ b/lerna.json @@ -9,7 +9,7 @@ "hoist": true }, "publish": { - "allowBranch": "master", + "allowBranch": ["master", "dove"], "message": "chore(release): publish %s", "conventionalCommits": true, "createRelease": "github" diff --git a/package.json b/package.json index 9030974b83..4c3160a9ff 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "scripts": { "install": "lerna bootstrap", "publish": "lerna publish && git commit -am \"chore: Update version and changelog\" && git push origin master", + "publish:premajor": "lerna publish premajor --preid pre --pre-dist-tag pre && git commit -am \"chore: Update version and changelog\" && git push origin master", "lint": "tslint 'packages/**/*.js' 'packages/**/*.ts' -c tslint.json --fix", "update-dependencies": "ncu -u && lerna exec -- ncu -u", "clean": "find . -name node_modules -exec rm -rf '{}' + && find . -name package-lock.json -exec rm -rf '{}' +",