Skip to content

Commit

Permalink
chore: add towncrier to manage product-level changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
aravinda0 committed Jun 13, 2024
1 parent f3163f7 commit 860c196
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## qtile-bonsai v0.1.0 (2024-05-05)
First official release. Too many things to list - should have launched way
earlier.
1 change: 1 addition & 0 deletions newsfragments/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.gitignore
40 changes: 39 additions & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ dev = [
"jinja2>=3.1.3",
"ptpython>=3.0.25",
"basedpyright>=1.12.3",
"towncrier>=23.11.0",
]


Expand Down Expand Up @@ -128,3 +129,31 @@ lines-after-imports = 2
# Disabling the following due to conflict with ruff formatter
# See: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
split-on-trailing-comma = false


[tool.towncrier]
directory = "newsfragments"
filename = "CHANGELOG.md"
package = "qtile_bonsai"
title_format = "## qtile-bonsai v{version} ({project_date})"
underlines = " "

[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true

[[tool.towncrier.type]]
directory = "feat"
name = "Features & Improvements"
showcontent = true

[[tool.towncrier.type]]
directory = "fix"
name = "Fixes"
showcontent = true

[[tool.towncrier.type]]
directory = "misc"
name = "Miscellaneous"
showcontent = true

0 comments on commit 860c196

Please sign in to comment.