Skip to content

Commit

Permalink
Restore .release-it.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Jan 10, 2025
1 parent 6ff4eec commit 5f9abf9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/volto-bookmarks/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
{
"plugins": {
"../../core/packages/scripts/prepublish.js": {}
},
"hooks": {
"after:bump": [
"pipx run towncrier build --draft --yes --version ${version} > .changelog.draft",
"pipx run towncrier build --yes --version ${version}",
"cp ../../README.md ./ && cp CHANGELOG.md ../../CHANGELOG.md",
"python3 -c 'import json; data = json.load(open(\"../../package.json\")); data[\"version\"] = \"${version}\"; json.dump(data, open(\"../../package.json\", \"w\"), indent=2)'",
"git add ../../CHANGELOG.md ../../package.json"
],
"after:release": "rm .changelog.draft README.md"
},
"npm": {
"publish": false
},
"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"
}
}

0 comments on commit 5f9abf9

Please sign in to comment.