-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3421 from Unitech/generate_changelog
Generate changelog
- Loading branch information
Showing
4 changed files
with
98 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"app_name": "", | ||
"logo": "", | ||
"intro": "", | ||
"branch" : "master", | ||
"repo_url": "https://github.com/Unitech/pm2", | ||
"version_name" : "v2.9.2", | ||
"tag": "2.9.1", | ||
"file": "currentTagChangelog.md", | ||
"template": "changelogTemplate.md", | ||
"sections": [ | ||
{ | ||
"title": "Bug Fixes", | ||
"grep": "^fix" | ||
}, | ||
{ | ||
"title": "Hot Fixes", | ||
"grep": "^hotfix" | ||
}, | ||
{ | ||
"title": "Features", | ||
"grep": "^feat" | ||
}, | ||
{ | ||
"title": "Documentation", | ||
"grep": "^docs" | ||
}, | ||
{ | ||
"title": "Breaking changes", | ||
"grep": "BREAKING" | ||
}, | ||
{ | ||
"title": "Refactor", | ||
"grep": "^refactor" | ||
}, | ||
{ | ||
"title": "Performance improvement", | ||
"grep": "^perf" | ||
}, | ||
{ | ||
"title": "Style", | ||
"grep": "^style" | ||
}, | ||
{ | ||
"title": "Test", | ||
"grep": "^test" | ||
}, | ||
{ | ||
"title": "Chore", | ||
"grep": "^chore" | ||
}, | ||
{ | ||
"title": "Branchs merged", | ||
"grep": "^Merge branch" | ||
}, | ||
{ | ||
"title" : "Pull requests merged", | ||
"grep": "^Merge pull request" | ||
} | ||
] | ||
} |
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,13 @@ | ||
<% if(logo) { %><img width="710px" src="<%= logo %>" alt="pm2 logo" /> <% } %> | ||
<% if(logo) { %># <%= title %> <% } %> | ||
<% if(intro) { %><%= '\n' %><%= intro %><%= '\n' %><% } %> | ||
<% if(version && (version.name || version.number)) { %>##<% if(version.name){%> <%= version.name %><% } %> <% if(version.date){ %>( <%= version.date %> )<% } %><%= '\n' %><% } %> | ||
<% _.forEach(sections, function(section){ | ||
if(section.commitsCount > 0) { %> | ||
## <%= section.title %> | ||
<% _.forEach(section.commits, function(commit){ %> - <%= printCommit(commit, true) %><% }) %> | ||
<% _.forEach(section.components, function(component){ %> - **<%= component.name %>** | ||
<% _.forEach(component.commits, function(commit){ %> - <%= printCommit(commit, true) %><% }) %> | ||
<% }) %> | ||
<% } %> | ||
<% }) %> |