-
-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add changelog and release facilities
- Loading branch information
Showing
5 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"plugins": { | ||
"../scripts/prepublish.js": {} | ||
}, | ||
"hooks": { | ||
"after:bump": [ | ||
"pipx run towncrier build --draft --yes --version ${version} > .changelog.draft", | ||
"pipx run towncrier build --yes --version ${version}", | ||
"pnpm build --no-cache" | ||
], | ||
"after:release": "rm .changelog.draft" | ||
}, | ||
"npm": { | ||
"publish": false | ||
}, | ||
"git": { | ||
"commitArgs": ["--no-verify"], | ||
"changelog": "pipx run towncrier build --draft --yes --version 0.0.0", | ||
"requireUpstream": false, | ||
"requireCleanWorkingDir": false, | ||
"commitMessage": "Release @plone/helpers ${version}", | ||
"tagName": "plone-helpers-${version}", | ||
"tagAnnotation": "Release @plone/helpers ${version}" | ||
}, | ||
"github": { | ||
"release": true, | ||
"releaseName": "@plone/helpers ${version}", | ||
"releaseNotes": "cat .changelog.draft" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# @plone/helpers Release Notes | ||
|
||
<!-- Do *NOT* add new change log entries to this file. | ||
You should create a file in the news directory instead. | ||
For helpful instructions, please see: | ||
https://6.docs.plone.org/contributing/index.html#contributing-change-log-label | ||
--> | ||
|
||
<!-- towncrier release notes start --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# @plone/helpers |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[tool.towncrier] | ||
filename = "CHANGELOG.md" | ||
directory = "news/" | ||
title_format = "## {version} ({project_date})" | ||
underlines = ["", "", ""] | ||
template = "../scripts/templates/towncrier_template.jinja" | ||
start_string = "<!-- towncrier release notes start -->\n" | ||
issue_format = "[#{issue}](https://github.com/plone/volto/issues/{issue})" | ||
|
||
[[tool.towncrier.type]] | ||
directory = "breaking" | ||
name = "Breaking" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "feature" | ||
name = "Feature" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "bugfix" | ||
name = "Bugfix" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "internal" | ||
name = "Internal" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "documentation" | ||
name = "Documentation" | ||
showcontent = true |