From 9c3b8103f4a6bbc5ce55facda426cc8a53a18eb0 Mon Sep 17 00:00:00 2001 From: Piotr Witasik <55193208+PdoubleU@users.noreply.github.com> Date: Tue, 21 Nov 2023 10:39:52 +0100 Subject: [PATCH] chore: add required branch to release it config (#244) * * add requiredBranch to release-it (avoid mistake of publishing from development branch) * * fix misspeling, reorder config flags * * add hook to release-it config - update changelog.dm based on github tags --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index b3ab3a04..f17b75c1 100644 --- a/package.json +++ b/package.json @@ -108,9 +108,13 @@ }, "release-it": { "git": { + "requireBranch": "master", "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, + "hooks": { + "after:bump": "npx auto-changelog -ps" + }, "npm": { "publish": true },