Skip to content

Commit

Permalink
initialize towncrier
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jun 4, 2020
1 parent 8c2b2bb commit 1627c28
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

9 changes: 6 additions & 3 deletions CHANGES.rst
@@ -1,10 +1,13 @@
Changelog
=========

2.2.1 (unreleased)
------------------

- Nothing changed yet.
.. You should *NOT* be adding new change log entries to this file.
You should create a file in the news directory instead.
For helpful instructions, please see:
https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
.. towncrier release notes start
2.2.0 (2020-06-04)
Expand Down
3 changes: 3 additions & 0 deletions MANIFEST.in
Expand Up @@ -12,3 +12,6 @@ graft src/collective
include *.cfg
include *.rst
include *.txt
include pyproject.toml
recursive-exclude news *
exclude news
Empty file added news/.gitkeep
Empty file.
20 changes: 20 additions & 0 deletions pyproject.toml
@@ -0,0 +1,20 @@
[tool.towncrier]
filename = "CHANGES.rst"
directory = "news/"
title_format = "{version} ({project_date})"
underlines = ["-", ""]

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

[[tool.towncrier.type]]
directory = "feature"
name = "New features:"
showcontent = true

[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug fixes:"
showcontent = true

0 comments on commit 1627c28

Please sign in to comment.