Skip to content

Commit

Permalink
build: allow versioning from local release branch
Browse files Browse the repository at this point in the history
Changing the branch you can version from to release.
  • Loading branch information
markmcdowell committed Sep 8, 2019
1 parent 9df001f commit cbc3ced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"hoist": true
},
"version": {
"allowBranch": "master",
"allowBranch": "release",
"conventionalCommits": true,
"gitRemote": "upstream",
"message": "chore(release): publish %v"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prestart": "npm run build",
"prepublishOnly": "npm run build",
"publish": "lerna publish from-package --no-git-reset --yes",
"release": "lerna version --no-push",
"release": "lerna version --no-push --yes",
"watch": "lerna run watch --parallel"
},
"workspaces": [
Expand Down

0 comments on commit cbc3ced

Please sign in to comment.