build: refine release-it configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 23 Sep 2023 13:11:13 +0000 (15:11 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 23 Sep 2023 13:11:13 +0000 (15:11 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.release-it.json

index e56b7bb6a843fc42fd4a7586c38cc2b21db8c35c..568ac915ab46d56b8269342ebb920bb00167d3a6 100644 (file)
@@ -1,5 +1,6 @@
 {
   "git": {
+    "requireBranch": "main",
     "changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs",
     "commitMessage": "chore: version ${version}",
     "tagAnnotation": "Version ${version}",