Skip to content

Commit

Permalink
chore(github): add release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMason committed Dec 23, 2023
1 parent 2ea9a79 commit 1cab0f4
Show file tree
Hide file tree
Showing 5 changed files with 5,344 additions and 2,720 deletions.
26 changes: 26 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"git": {
"changelog": "npm exec auto-changelog -- --stdout --commit-limit false --unreleased --breaking-pattern 'BREAKING CHANGE:' --template https://raw.githubusercontent.com/release-it/release-it/main/templates/changelog-compact.hbs",
"commitMessage": "chore(release): ${version}",
"push": false,
"requireBranch": "main"
},
"github": {
"release": true,
"releaseName": "${version}"
},
"hooks": {
"after:bump": "npm exec auto-changelog -- -p --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md"
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits"
},
"strictSemver": true
}
}
}

0 comments on commit 1cab0f4

Please sign in to comment.