Skip to content

Commit

Permalink
Revert "Revert "Initialize towncrier""
Browse files Browse the repository at this point in the history
This reverts commit 996cdc9.
  • Loading branch information
tisto committed Feb 15, 2019
1 parent d825250 commit b9d118b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Changelog
=========

3.5.3 (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
3.5.2 (2019-02-14)
------------------
Expand Down
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ exclude Dockerfile
exclude Makefile
exclude bootstrap-buildout.py
global-exclude *.pyc
include pyproject.toml
recursive-exclude news *
exclude news
Empty file added news/.gitkeep
Empty file.
20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 b9d118b

Please sign in to comment.