Skip to content

Commit

Permalink
chore: Add premajor publishing script
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed May 18, 2020
1 parent 29a33bc commit a665df3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"hoist": true
},
"publish": {
"allowBranch": "master",
"allowBranch": ["master", "dove"],
"message": "chore(release): publish %s",
"conventionalCommits": true,
"createRelease": "github"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 '{}' +",
Expand Down

0 comments on commit a665df3

Please # to comment.