From a15d211874d9f35bed44c0953c1e6a4d5a785f2f Mon Sep 17 00:00:00 2001 From: Sickenberg Romain Date: Wed, 29 Nov 2023 00:40:45 +0100 Subject: [PATCH] build(release): since the project is still in active dev, release are in pre-release by default + hook dev rebase after release --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ad56814..5a2be87 100644 --- a/package.json +++ b/package.json @@ -41,14 +41,18 @@ "github": { "release": true, "releaseName": "Release ${version}", - "preRelease": false, + "preRelease": true, "draft": false }, "git": { "requireCleanWorkingDir": false, "commitMessage": "Release ${version}", "tagName": "v${version}", - "tag": true + "tag": true, + "requiredBranch": "main" + }, + "hooks": { + "after:git:release": "git rebase main dev" }, "plugins": { "@release-it/keep-a-changelog": {