This repository has been archived by the owner on Feb 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(headerParts): headerParts can be anything
BREAKING CHANGE: `headerParts` does not limit to `type`, `scope` and `subject`. They can now be defined in `options.headerCorrespondence` and the order is the order of capturing group in `options.headerPattern`. If part is missing in `options.headerCorrespondence` it is `undefined`. If part is not captured but is not missing in `options.headerCorrespondence` it is `null`. Closes #10
- Loading branch information
Showing
5 changed files
with
39 additions
and
87 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[ | ||
{"hash":"9b1aff905b638aa274a5fc8f88662df446d374bd","header":"category(fix:subcategory): My subject","type":"fix:subcategory","scope":"category","subject":"My subject","body":"This is my commit body.","footer":"BREAKING NEWS: A lot of changes!\nClose #10036, Closes #10000\nFixed #13233\nfix #9338","notes":[{"title":"BREAKING NEWS","text":"A lot of changes!"}],"references":[{"action":"Close","repository":null,"issue":"10036","raw":"#10036"},{"action":"fix","repository":null,"issue":"9338","raw":"#9338"}]} | ||
{"hash":"9b1aff905b638aa274a5fc8f88662df446d374bd","header":"category(fix:subcategory): My subject","scope":"category","type":"fix:subcategory","subject":"My subject","body":"This is my commit body.","footer":"BREAKING NEWS: A lot of changes!\nClose #10036, Closes #10000\nFixed #13233\nfix #9338","notes":[{"title":"BREAKING NEWS","text":"A lot of changes!"}],"references":[{"action":"Close","repository":null,"issue":"10036","raw":"#10036"},{"action":"fix","repository":null,"issue":"9338","raw":"#9338"}]} | ||
] |
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