diff --git a/.changelog/changes/.gitkeep b/.changelog/changes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.changelog/template.md b/.changelog/template.md new file mode 100644 index 0000000..5c08f34 --- /dev/null +++ b/.changelog/template.md @@ -0,0 +1,28 @@ +{% for section, _ in sections.items() %} +{%- if section %}{{section}}{% endif -%} + +{% if sections[section] %} +{% for category, val in definitions.items() if category in sections[section]%} +### {{ definitions[category]['name'] }} + +{% if definitions[category]['showcontent'] %} +{% for text, values in sections[section][category].items() %} +- {{ values|join(', ') }} {{ text }} +{% endfor %} + +{% else %} +- {{ sections[section][category]['']|join(', ') }} + +{% endif %} +{% if sections[section][category]|length == 0 %} +No significant changes. + +{% else %} +{% endif %} + +{% endfor %} +{% else %} +No significant changes. + +{% endif %} +{% endfor %} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f735682 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ + + +# Changelog + +## 1.0.0 (2021-02-04) + +This is the first stable release. Its compatible to Funkwhale >= 1.0 and Mopidy >= 3. +For a list of features, please see README diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3294012 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,11 @@ +[tool.towncrier] + package = "mopidy_funkwhale" + directory = ".changelog" + filename = "CHANGELOG.md" + all_bullets = true + template = ".changelog/changes/template.md" + start_string = "# Changelog\n" + issue_format = "[#{issue}](https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/{issue})" + underlines = ["", ""] + title_format = "## {version} ({project_date})\n" +