-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5634 from MetRonnie/towncrier
Use towncrier for changelog generation
- Loading branch information
Showing
7 changed files
with
57 additions
and
11 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
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
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
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
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,13 @@ | ||
{% if sections[""] %} | ||
{% for category, val in definitions.items() if category in sections[""] %} | ||
### {{ definitions[category]['name'] }} | ||
|
||
{% for text, pulls in sections[""][category].items() %} | ||
{{ pulls|join(', ') }} - {{ text }} | ||
|
||
{% endfor %} | ||
{% endfor %} | ||
{% else %} | ||
No significant changes. | ||
|
||
{% endif %} |
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,23 @@ | ||
[tool.towncrier] | ||
directory = "changes.d" | ||
name = "Cylc" | ||
package = "cylc.flow" | ||
filename = "CHANGES.md" | ||
template = "changes.d/changelog-template.jinja" | ||
underlines = ["", "", ""] | ||
title_format = "## __cylc-{version} (Released {project_date})__" | ||
issue_format = "[#{issue}](https://github.com/cylc/cylc-flow/pull/{issue})" | ||
|
||
# These changelog sections will be shown in the defined order: | ||
[[tool.towncrier.type]] | ||
directory = "break" # NB this is just the filename not directory e.g. 123.break.md | ||
name = "⚠ Breaking Changes" | ||
showcontent = true | ||
[[tool.towncrier.type]] | ||
directory = "feat" | ||
name = "🚀 Enhancements" | ||
showcontent = true | ||
[[tool.towncrier.type]] | ||
directory = "fix" | ||
name = "🔧 Fixes" | ||
showcontent = true |
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