Skip to content

Commit

Permalink
chore: add required branch to release it config (#244)
Browse files Browse the repository at this point in the history
* * 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
  • Loading branch information
PdoubleU authored Nov 21, 2023
1 parent 22eac8c commit 9c3b810
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 9c3b810

Please sign in to comment.