mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 07:00:54 +00:00
Add breaking change type to newsfragment (#61)
* Add breaking change type to newsfragment * Move breaking-change -> breaking
This commit is contained in:
@ -15,6 +15,7 @@ Each file should be named like `<ISSUE>.<TYPE>.rst`, where
|
|||||||
* `internal`
|
* `internal`
|
||||||
* `removal`
|
* `removal`
|
||||||
* `misc`
|
* `misc`
|
||||||
|
* `breaking`
|
||||||
|
|
||||||
So for example: `123.feature.rst`, `456.bugfix.rst`
|
So for example: `123.feature.rst`, `456.bugfix.rst`
|
||||||
|
|
||||||
|
|||||||
@ -8,6 +8,7 @@ import pathlib
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
ALLOWED_EXTENSIONS = {
|
ALLOWED_EXTENSIONS = {
|
||||||
|
'.breaking.rst',
|
||||||
'.bugfix.rst',
|
'.bugfix.rst',
|
||||||
'.doc.rst',
|
'.doc.rst',
|
||||||
'.feature.rst',
|
'.feature.rst',
|
||||||
|
|||||||
@ -41,3 +41,8 @@ showcontent = true
|
|||||||
directory = "misc"
|
directory = "misc"
|
||||||
name = "Miscellaneous changes"
|
name = "Miscellaneous changes"
|
||||||
showcontent = false
|
showcontent = false
|
||||||
|
|
||||||
|
[[tool.towncrier.type]]
|
||||||
|
directory = "breaking"
|
||||||
|
name = "Breaking changes"
|
||||||
|
showcontent = true
|
||||||
|
|||||||
Reference in New Issue
Block a user