-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
towncrier create
increment fragments rather than failing (#475)
* Make `towncrier create` increment fragments rather than failing Fixes #474 * Rename change file * Add example to tutorial of incrementing via towncrier create * Remove the counter example from the tutorial, this isn't core functionality * Better docstring for the new test --------- Co-authored-by: Glyph <glyph@twistedmatrix.com>
- Loading branch information
1 parent
566d315
commit 826beac
Showing
4 changed files
with
57 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Make ``towncrier create`` use the fragment counter rather than failing | ||
on existing fragment names. | ||
|
||
For example, if there is an existing fragment named ``123.feature``, | ||
then ``towncrier create 123.feature`` will now create a fragment | ||
named ``123.feature.1``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters