diff --git a/.release-it.json b/.release-it.json index b1219d6..66f028b 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,6 +1,6 @@ { "git": { - "requireBranch": "main", + "requireBranch": "release/1.x", "commitMessage": "chore: release v${version}" }, "hooks": { diff --git a/package.json b/package.json index 4a8b19e..84cf5ed 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "build:watch": "genversion --es6 src/utils/version.js && rollup -c -w", "test": "jest", "release": "release-it", - "lint": "eslint --ignore-path .eslintignore --ext .js" + "lint": "eslint --ignore-path .eslintignore --ext .js", + "release:dry": "release-it --ci --dry-run --npm.tag=old-version" }, "author": { "name": "Kinde",