mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-30 17:21:21 +00:00
fix(changelog): explicitly include title in rendered template
This commit is contained in:
parent
c12e4edd70
commit
60648c903f
2
poetry.lock
generated
2
poetry.lock
generated
@ -1007,7 +1007,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.7"
|
python-versions = "^3.7"
|
||||||
content-hash = "4ccf9c6db72fb71f6309c7fe7cf45911c86e44daba3c41b20d0366327f0b00af"
|
content-hash = "0104cc6698a15ec443594e47494b450c33ef6f4d3a1f36d6f919a783f932a3fb"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
astroid = [
|
astroid = [
|
||||||
|
@ -73,7 +73,7 @@ yamllint = "^1.25.0"
|
|||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
scan-build = "*"
|
scan-build = "*"
|
||||||
towncrier = "^21.3.0"
|
towncrier = "^21.9.0"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=1;<1.1", "pip>=20"]
|
requires = ["poetry>=1;<1.1", "pip>=20"]
|
||||||
|
@ -3,7 +3,6 @@ directory = ".changelog.d"
|
|||||||
filename = "CHANGELOG.md"
|
filename = "CHANGELOG.md"
|
||||||
template = ".towncrier.template.md"
|
template = ".towncrier.template.md"
|
||||||
start_string = "The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)."
|
start_string = "The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)."
|
||||||
title_format = "\n## [{version}] - {project_date}"
|
|
||||||
issue_format = "[#{issue}]"
|
issue_format = "[#{issue}]"
|
||||||
underlines = ["", ""]
|
underlines = ["", ""]
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
|
## [{{ versiondata.version }}] ({{versiondata.date}})
|
||||||
{% for section, _ in sections.items() %}
|
{% for section, _ in sections.items() %}
|
||||||
{% if section %}{{section}}{% endif -%}
|
{% if section %}{{section}}{% endif -%}
|
||||||
|
|
||||||
{% if sections[section] %}
|
{% if sections[section] %}
|
||||||
|
|
||||||
{% for category, val in definitions.items() if category in sections[section] %}
|
{% for category, val in definitions.items() if category in sections[section] %}
|
||||||
|
|
||||||
### {{ definitions[category]['name'] }}
|
### {{ definitions[category]['name'] }}
|
||||||
|
Loading…
Reference in New Issue
Block a user