Skip to content

Commit

Permalink
use towncrier
Browse files Browse the repository at this point in the history
  • Loading branch information
erral committed Mar 31, 2024
1 parent eca5c3c commit 2faf127
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
{
"npm": {
"publish": true
},
"git": {
"changelog": "pipx run towncrier build --draft --yes --version 0.0.0",
"requireUpstream": false,
"requireCleanWorkingDir": false,
"commitMessage": "Release ${version}",
"tagName": "${version}",
"tagAnnotation": "Release ${version}"
},
"github": {
"release": true,
"releaseName": "${version}",
"releaseNotes": "cat .changelog.draft"
},

"hooks": {
"after:bump": "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}",
"after:release": "rm .changelog.draft"
}
}

0 comments on commit 2faf127

Please sign in to comment.