Skip to content

Commit

Permalink
Initialize towncrier
Browse files Browse the repository at this point in the history
[ci-skip]
  • Loading branch information
gforcada committed Feb 8, 2019
1 parent a3baa46 commit 4219a3c
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 15 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

19 changes: 5 additions & 14 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
Changelog
=========

7.0.1 (unreleased)
------------------

Breaking changes:

- *add item here*

New features:

- *add item here*

Bug fixes:

- *add item here*
.. 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
7.0.0 (2018-10-17)
------------------
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
include *.rst
include pyproject.toml

recursive-include docs *
recursive-include src *

global-exclude *pyc

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 4219a3c

Please sign in to comment.