kopia lustrzana https://gitlab.com/sane-project/backends
Setup release notes build using towncrier
rodzic
3f955dd532
commit
3e1de72bcb
2
NEWS
2
NEWS
|
@ -5,6 +5,8 @@
|
|||
semi-automatically.
|
||||
-->
|
||||
|
||||
<!--(towncrier release notes start)-->
|
||||
|
||||
## New with 1.0.32 (released 2021-02-14)
|
||||
|
||||
### Backends
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
{% for section, _ in sections|dictsort(by='key') %}
|
||||
{% set underline = "-" %}
|
||||
{% if section %}
|
||||
----- {{section}}
|
||||
|
||||
{% endif %}
|
||||
{% if sections[section] %}
|
||||
{% for category, val in definitions|dictsort if category in sections[section]%}
|
||||
|
||||
### {{ definitions[category]['name'] }}
|
||||
|
||||
{% for text, values in sections[section][category]|dictsort(by='value') %}
|
||||
- {{ text }}
|
||||
{% endfor %}
|
||||
|
||||
{% if sections[section][category]|length == 0 %}
|
||||
|
||||
No significant changes.
|
||||
|
||||
|
||||
{% else %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
|
||||
No significant changes.
|
||||
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
|
@ -0,0 +1,34 @@
|
|||
[tool.towncrier]
|
||||
package = ""
|
||||
directory = "newsfragments"
|
||||
filename = "NEWS"
|
||||
template = "tools/NEWS.template.jinja"
|
||||
title_format = "\n## New with {version} (released {project_date})\n"
|
||||
start_string = "<!--(towncrier release notes start)-->"
|
||||
[[tool.towncrier.section]]
|
||||
path = ""
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "security"
|
||||
name = "Security fixes"
|
||||
showcontent = false
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "backend"
|
||||
name = "Backends"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "frontend"
|
||||
name = "Frontends"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "removal"
|
||||
name = "Deprecations and removals"
|
||||
showcontent = true
|
||||
|
||||
[[tool.towncrier.type]]
|
||||
directory = "misc"
|
||||
name = "Miscellaneous"
|
||||
showcontent = true
|
Ładowanie…
Reference in New Issue