Skip to content

Commit

Permalink
chore: updated release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraBianchi committed Nov 11, 2024
1 parent 5d44cd3 commit 7bf3f55
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"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"
},
"git": {
"changelog": "pipx run towncrier build --draft --yes --version 0.0.0",
"requireUpstream": false,
"requireCleanWorkingDir": false,
"commitMessage": "Release ${version}",
"tagName": "${version}",
"tagAnnotation": "Release ${version}"
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs",
"tagName": "v${version}"
},
"github": {
"release": true,
"releaseName": "${version}",
"releaseNotes": "cat .changelog.draft"
"releaseNotes": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p"
},
"npm": {
"publish": true
}
}

0 comments on commit 7bf3f55

Please sign in to comment.