Skip to content

Commit

Permalink
Add breaking change type to newsfragment (ethereum#61)
Browse files Browse the repository at this point in the history
* Add breaking change type to newsfragment

* Move breaking-change -> breaking
  • Loading branch information
kclowes authored May 20, 2022
1 parent c4f23a4 commit 2e22e2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Each file should be named like `<ISSUE>.<TYPE>.rst`, where
* `internal`
* `removal`
* `misc`
* `breaking`

So for example: `123.feature.rst`, `456.bugfix.rst`

Expand Down
1 change: 1 addition & 0 deletions newsfragments/validate_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import sys

ALLOWED_EXTENSIONS = {
'.breaking.rst',
'.bugfix.rst',
'.doc.rst',
'.feature.rst',
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ showcontent = true
directory = "misc"
name = "Miscellaneous changes"
showcontent = false

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

0 comments on commit 2e22e2d

Please sign in to comment.