From cbc3ced56b49c4fc22d471ceb34106c394895754 Mon Sep 17 00:00:00 2001 From: Mark McDowell Date: Sun, 8 Sep 2019 22:39:02 +0100 Subject: [PATCH] build: allow versioning from local release branch Changing the branch you can version from to release. --- lerna.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lerna.json b/lerna.json index 082455849..7db6a1674 100644 --- a/lerna.json +++ b/lerna.json @@ -10,7 +10,7 @@ "hoist": true }, "version": { - "allowBranch": "master", + "allowBranch": "release", "conventionalCommits": true, "gitRemote": "upstream", "message": "chore(release): publish %v" diff --git a/package.json b/package.json index bbc54dc85..a0e06ef2d 100644 --- a/package.json +++ b/package.json @@ -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": [