Skip to content

Commit

Permalink
* add requiredBranch to release-it (avoid mistake of publishing from …
Browse files Browse the repository at this point in the history
…development branch)
  • Loading branch information
PdoubleU committed Nov 21, 2023
1 parent 22eac8c commit a2ad670
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
"tagName": "v${version}",
"requiredBranch": "master"
},
"npm": {
"publish": true
Expand Down

0 comments on commit a2ad670

Please sign in to comment.