commit
e673c94ab9
|
@ -14,3 +14,7 @@ Metrics/ClassLength:
|
|||
# Configuration parameters: CountComments.
|
||||
Metrics/MethodLength:
|
||||
Enabled: false
|
||||
|
||||
Style/FileName:
|
||||
Exclude:
|
||||
- 'bin/git-generate-changelog'
|
||||
|
|
|
@ -6,7 +6,7 @@ before_install:
|
|||
rvm:
|
||||
- 2.1.0
|
||||
script:
|
||||
- bundle exec rake
|
||||
- bundle exec rake checks
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
|
|
16
Rakefile
16
Rakefile
|
@ -1,7 +1,21 @@
|
|||
require "bundler/gem_tasks"
|
||||
require "rubocop/rake_task"
|
||||
require "rspec/core/rake_task"
|
||||
require "pathname"
|
||||
require "fileutils"
|
||||
|
||||
RuboCop::RakeTask.new
|
||||
RSpec::Core::RakeTask.new(:rspec)
|
||||
|
||||
task default: [:rubocop, :rspec]
|
||||
task :create_man do |_t|
|
||||
os_prefix = "/usr/local"
|
||||
man_prefix = Pathname("#{os_prefix}/share/man/man1")
|
||||
man_pages = "man/git-*"
|
||||
|
||||
Pathname.glob(man_pages) do |path|
|
||||
FileUtils.cp(path, man_prefix + path.basename)
|
||||
end
|
||||
end
|
||||
|
||||
task checks: [:rubocop, :rspec]
|
||||
task default: [:checks, :create_man]
|
||||
|
|
4
bin/git-generate-changelog
Executable file
4
bin/git-generate-changelog
Executable file
|
@ -0,0 +1,4 @@
|
|||
#! /usr/bin/env ruby
|
||||
|
||||
require_relative "../lib/github_changelog_generator"
|
||||
GitHubChangelogGenerator::ChangelogGenerator.new.run
|
|
@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
|
|||
spec.description = "Changelog generation has never been so easy. Fully automate changelog generation - this gem generate change log file based on tags, issues and merged pull requests from Github issue tracker."
|
||||
spec.homepage = "https://github.com/skywinder/Github-Changelog-Generator"
|
||||
spec.license = "MIT"
|
||||
spec.extensions = ["Rakefile"]
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0")
|
||||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
||||
|
|
252
man/git-generate-changelog.1
Normal file
252
man/git-generate-changelog.1
Normal file
|
@ -0,0 +1,252 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "GIT\-GENERATE\-CHANGELOG" "1" "October 2015" "" ""
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBgit\-generate\-changelog\fR \- Generate changelog from github
|
||||
.
|
||||
.SH "SYNOPSIS"
|
||||
\fBgit generate\-changelog\fR [\-h|\-\-help] [\-u|\-\-user] [\-p|\-\-project]
|
||||
.
|
||||
.SH "DESCRIPTION"
|
||||
Automatically generate change log from your tags, issues, labels and pull requests on GitHub\.
|
||||
.
|
||||
.SH "OPTIONS"
|
||||
\-u, \-\-user [USER]
|
||||
.
|
||||
.P
|
||||
Username of the owner of target GitHub repo
|
||||
.
|
||||
.P
|
||||
\-p, \-\-project [PROJECT]
|
||||
.
|
||||
.P
|
||||
Name of project on GitHub
|
||||
.
|
||||
.P
|
||||
\-t, \-\-token [TOKEN]
|
||||
.
|
||||
.P
|
||||
To make more than 50 requests per hour your GitHub token is required\. You can generate it at: https://github\.com/settings/tokens/new
|
||||
.
|
||||
.P
|
||||
\-f, \-\-date\-format [FORMAT]
|
||||
.
|
||||
.P
|
||||
Date format\. Default is %Y\-%m\-%d
|
||||
.
|
||||
.P
|
||||
\-o, \-\-output [NAME]
|
||||
.
|
||||
.P
|
||||
Output file\. Default is CHANGELOG\.md
|
||||
.
|
||||
.P
|
||||
\-b, \-\-base [NAME]
|
||||
.
|
||||
.P
|
||||
Optional base file to append generated changes to\.
|
||||
.
|
||||
.P
|
||||
\-\-bugs\-label [LABEL]
|
||||
.
|
||||
.P
|
||||
Setup custom label for bug\-fixes section\. Default is "\fBFixed bugs:\fR
|
||||
.
|
||||
.P
|
||||
\-\-enhancement\-label [LABEL]
|
||||
.
|
||||
.P
|
||||
Setup custom label for enhancements section\. Default is "\fBImplemented enhancements:\fR"
|
||||
.
|
||||
.P
|
||||
\-\-issues\-label [LABEL]
|
||||
.
|
||||
.P
|
||||
Setup custom label for closed\-issues section\. Default is "\fBClosed issues:\fR"
|
||||
.
|
||||
.P
|
||||
\-\-header\-label [LABEL]
|
||||
.
|
||||
.P
|
||||
Setup custom header label\. Default is "# Change Log"
|
||||
.
|
||||
.P
|
||||
\-\-pr\-label [LABEL]
|
||||
.
|
||||
.P
|
||||
Setup custom label for pull requests section\. Default is "\fBMerged pull requests:\fR"
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]issues
|
||||
.
|
||||
.P
|
||||
Include closed issues in changelog\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]issues\-wo\-labels
|
||||
.
|
||||
.P
|
||||
Include closed issues without labels in changelog\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]pr\-wo\-labels
|
||||
.
|
||||
.P
|
||||
Include pull requests without labels in changelog\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]pull\-requests
|
||||
.
|
||||
.P
|
||||
Include pull\-requests in changelog\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]filter\-by\-milestone
|
||||
.
|
||||
.P
|
||||
Use milestone to detect when issue was resolved\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]author
|
||||
.
|
||||
.P
|
||||
Add author of pull\-request in the end\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-unreleased\-only
|
||||
.
|
||||
.P
|
||||
Generate log from unreleased closed issues only\.
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]unreleased
|
||||
.
|
||||
.P
|
||||
Add to log unreleased closed issues\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-unreleased\-label [label]
|
||||
.
|
||||
.P
|
||||
Add to log unreleased closed issues\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]compare\-link
|
||||
.
|
||||
.P
|
||||
Include compare link (Full Changelog) between older version and newer version\. Default is true
|
||||
.
|
||||
.P
|
||||
\-\-include\-labels x,y,z
|
||||
.
|
||||
.P
|
||||
Only issues with the specified labels will be included in the changelog\.
|
||||
.
|
||||
.P
|
||||
\-\-exclude\-labels x,y,z
|
||||
.
|
||||
.P
|
||||
Issues with the specified labels will be always excluded from changelog\. Default is \'duplicate,question,invalid,wontfix\'
|
||||
.
|
||||
.P
|
||||
\-\-bug\-labels x,y,z
|
||||
.
|
||||
.P
|
||||
Issues with the specified labels will be always added to "Fixed bugs" section\. Default is \'bug,Bug\'
|
||||
.
|
||||
.P
|
||||
\-\-enhancement\-labels x,y,z
|
||||
.
|
||||
.P
|
||||
Issues with the specified labels will be always added to "Implemented enhancements" section\. Default is \'enhancement,Enhancement\'
|
||||
.
|
||||
.P
|
||||
\-\-between\-tags x,y,z
|
||||
.
|
||||
.P
|
||||
Change log will be filled only between specified tags
|
||||
.
|
||||
.P
|
||||
\-\-exclude\-tags x,y,z
|
||||
.
|
||||
.P
|
||||
Change log will exclude specified tags
|
||||
.
|
||||
.P
|
||||
\-\-since\-tag x
|
||||
.
|
||||
.P
|
||||
Change log will start after specified tag
|
||||
.
|
||||
.P
|
||||
\-\-due\-tag x
|
||||
.
|
||||
.P
|
||||
Change log will end before specified tag
|
||||
.
|
||||
.P
|
||||
\-\-max\-issues [NUMBER]
|
||||
.
|
||||
.P
|
||||
Max number of issues to fetch from GitHub\. Default is unlimited
|
||||
.
|
||||
.P
|
||||
\-\-release\-url [URL]
|
||||
.
|
||||
.P
|
||||
The URL to point to for release links, in printf format (with the tag as variable)\.
|
||||
.
|
||||
.P
|
||||
\-\-github\-site [URL]
|
||||
.
|
||||
.P
|
||||
The Enterprise Github site on which your project is hosted\.
|
||||
.
|
||||
.P
|
||||
\-\-github\-api [URL]
|
||||
.
|
||||
.P
|
||||
The enterprise endpoint to use for your Github API\.
|
||||
.
|
||||
.P
|
||||
\-\-simple\-list
|
||||
.
|
||||
.P
|
||||
Create simple list from issues and pull requests\. Default is false\.
|
||||
.
|
||||
.P
|
||||
\-\-future\-release [RELEASE\-VERSION]
|
||||
.
|
||||
.P
|
||||
Put the unreleased changes in the specified release number\.
|
||||
.
|
||||
.P
|
||||
\-\-[no\-]verbose
|
||||
.
|
||||
.P
|
||||
Run verbosely\. Default is true
|
||||
.
|
||||
.P
|
||||
\-v, \-\-version
|
||||
.
|
||||
.P
|
||||
Print version number
|
||||
.
|
||||
.P
|
||||
\-h, \-\-help
|
||||
.
|
||||
.P
|
||||
Displays Help
|
||||
.
|
||||
.SH "EXAMPLES"
|
||||
.
|
||||
.SH "AUTHOR"
|
||||
Written by Petr Korolev sky4winder@gmail\.com
|
||||
.
|
||||
.SH "REPORTING BUGS"
|
||||
<\fIhttps://github\.com/skywinder/github\-changelog\-generator/issues\fR>
|
||||
.
|
||||
.SH "SEE ALSO"
|
||||
<\fIhttps://github\.com/skywinder/github\-changelog\-generator/\fR>
|
262
man/git-generate-changelog.html
Normal file
262
man/git-generate-changelog.html
Normal file
|
@ -0,0 +1,262 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
||||
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
||||
<title>git-generate-changelog(1) - Generate changelog from github</title>
|
||||
<style type='text/css' media='all'>
|
||||
/* style: man */
|
||||
body#manpage {margin:0}
|
||||
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
||||
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
||||
.mp h2 {margin:10px 0 0 0}
|
||||
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
||||
.mp h3 {margin:0 0 0 4ex}
|
||||
.mp dt {margin:0;clear:left}
|
||||
.mp dt.flush {float:left;width:8ex}
|
||||
.mp dd {margin:0 0 0 9ex}
|
||||
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
||||
.mp pre {margin-bottom:20px}
|
||||
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
||||
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
||||
.mp img {display:block;margin:auto}
|
||||
.mp h1.man-title {display:none}
|
||||
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
||||
.mp h2 {font-size:16px;line-height:1.25}
|
||||
.mp h1 {font-size:20px;line-height:2}
|
||||
.mp {text-align:justify;background:#fff}
|
||||
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
||||
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
||||
.mp u {text-decoration:underline}
|
||||
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
||||
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
||||
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
||||
.mp b.man-ref {font-weight:normal;color:#434241}
|
||||
.mp pre {padding:0 4ex}
|
||||
.mp pre code {font-weight:normal;color:#434241}
|
||||
.mp h2+pre,h3+pre {padding-left:0}
|
||||
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
||||
ol.man-decor {width:100%}
|
||||
ol.man-decor li.tl {text-align:left}
|
||||
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
||||
ol.man-decor li.tr {text-align:right;float:right}
|
||||
</style>
|
||||
</head>
|
||||
<!--
|
||||
The following styles are deprecated and will be removed at some point:
|
||||
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
||||
|
||||
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
||||
.man-navigation should be used instead.
|
||||
-->
|
||||
<body id='manpage'>
|
||||
<div class='mp' id='man'>
|
||||
|
||||
<div class='man-navigation' style='display:none'>
|
||||
<a href="#NAME">NAME</a>
|
||||
<a href="#SYNOPSIS">SYNOPSIS</a>
|
||||
<a href="#DESCRIPTION">DESCRIPTION</a>
|
||||
<a href="#OPTIONS">OPTIONS</a>
|
||||
<a href="#EXAMPLES">EXAMPLES</a>
|
||||
<a href="#AUTHOR">AUTHOR</a>
|
||||
<a href="#REPORTING-BUGS">REPORTING BUGS</a>
|
||||
<a href="#SEE-ALSO">SEE ALSO</a>
|
||||
</div>
|
||||
|
||||
<ol class='man-decor man-head man head'>
|
||||
<li class='tl'>git-generate-changelog(1)</li>
|
||||
<li class='tc'></li>
|
||||
<li class='tr'>git-generate-changelog(1)</li>
|
||||
</ol>
|
||||
|
||||
<h2 id="NAME">NAME</h2>
|
||||
<p class="man-name">
|
||||
<code>git-generate-changelog</code> - <span class="man-whatis">Generate changelog from github</span>
|
||||
</p>
|
||||
|
||||
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
||||
|
||||
<p><code>git generate-changelog</code> [-h|--help] [-u|--user] [-p|--project]</p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p>Automatically generate change log from your tags, issues, labels and pull requests on GitHub.</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
||||
<p> -u, --user [USER]</p>
|
||||
|
||||
<p> Username of the owner of target GitHub repo</p>
|
||||
|
||||
<p> -p, --project [PROJECT]</p>
|
||||
|
||||
<p> Name of project on GitHub</p>
|
||||
|
||||
<p> -t, --token [TOKEN]</p>
|
||||
|
||||
<p> To make more than 50 requests per hour your GitHub token is required. You can generate it at: https://github.com/settings/tokens/new</p>
|
||||
|
||||
<p> -f, --date-format [FORMAT]</p>
|
||||
|
||||
<p> Date format. Default is %Y-%m-%d</p>
|
||||
|
||||
<p> -o, --output [NAME]</p>
|
||||
|
||||
<p> Output file. Default is CHANGELOG.md</p>
|
||||
|
||||
<p> -b, --base [NAME]</p>
|
||||
|
||||
<p> Optional base file to append generated changes to.</p>
|
||||
|
||||
<p> --bugs-label [LABEL]</p>
|
||||
|
||||
<p> Setup custom label for bug-fixes section. Default is "<strong>Fixed bugs:</strong></p>
|
||||
|
||||
<p> --enhancement-label [LABEL]</p>
|
||||
|
||||
<p> Setup custom label for enhancements section. Default is "<strong>Implemented enhancements:</strong>"</p>
|
||||
|
||||
<p> --issues-label [LABEL]</p>
|
||||
|
||||
<p> Setup custom label for closed-issues section. Default is "<strong>Closed issues:</strong>"</p>
|
||||
|
||||
<p> --header-label [LABEL]</p>
|
||||
|
||||
<p> Setup custom header label. Default is "# Change Log"</p>
|
||||
|
||||
<p> --pr-label [LABEL]</p>
|
||||
|
||||
<p> Setup custom label for pull requests section. Default is "<strong>Merged pull requests:</strong>"</p>
|
||||
|
||||
<p> --[no-]issues</p>
|
||||
|
||||
<p> Include closed issues in changelog. Default is true</p>
|
||||
|
||||
<p> --[no-]issues-wo-labels</p>
|
||||
|
||||
<p> Include closed issues without labels in changelog. Default is true</p>
|
||||
|
||||
<p> --[no-]pr-wo-labels</p>
|
||||
|
||||
<p> Include pull requests without labels in changelog. Default is true</p>
|
||||
|
||||
<p> --[no-]pull-requests</p>
|
||||
|
||||
<p> Include pull-requests in changelog. Default is true</p>
|
||||
|
||||
<p> --[no-]filter-by-milestone</p>
|
||||
|
||||
<p> Use milestone to detect when issue was resolved. Default is true</p>
|
||||
|
||||
<p> --[no-]author</p>
|
||||
|
||||
<p> Add author of pull-request in the end. Default is true</p>
|
||||
|
||||
<p> --unreleased-only</p>
|
||||
|
||||
<p> Generate log from unreleased closed issues only.</p>
|
||||
|
||||
<p> --[no-]unreleased</p>
|
||||
|
||||
<p> Add to log unreleased closed issues. Default is true</p>
|
||||
|
||||
<p> --unreleased-label [label]</p>
|
||||
|
||||
<p> Add to log unreleased closed issues. Default is true</p>
|
||||
|
||||
<p> --[no-]compare-link</p>
|
||||
|
||||
<p> Include compare link (Full Changelog) between older version and newer version. Default is true</p>
|
||||
|
||||
<p> --include-labels x,y,z</p>
|
||||
|
||||
<p> Only issues with the specified labels will be included in the changelog.</p>
|
||||
|
||||
<p> --exclude-labels x,y,z</p>
|
||||
|
||||
<p> Issues with the specified labels will be always excluded from changelog. Default is 'duplicate,question,invalid,wontfix'</p>
|
||||
|
||||
<p> --bug-labels x,y,z</p>
|
||||
|
||||
<p> Issues with the specified labels will be always added to "Fixed bugs" section. Default is 'bug,Bug'</p>
|
||||
|
||||
<p> --enhancement-labels x,y,z</p>
|
||||
|
||||
<p> Issues with the specified labels will be always added to "Implemented enhancements" section. Default is 'enhancement,Enhancement'</p>
|
||||
|
||||
<p> --between-tags x,y,z</p>
|
||||
|
||||
<p> Change log will be filled only between specified tags</p>
|
||||
|
||||
<p> --exclude-tags x,y,z</p>
|
||||
|
||||
<p> Change log will exclude specified tags</p>
|
||||
|
||||
<p> --since-tag x</p>
|
||||
|
||||
<p> Change log will start after specified tag</p>
|
||||
|
||||
<p> --due-tag x</p>
|
||||
|
||||
<p> Change log will end before specified tag</p>
|
||||
|
||||
<p> --max-issues [NUMBER]</p>
|
||||
|
||||
<p> Max number of issues to fetch from GitHub. Default is unlimited</p>
|
||||
|
||||
<p> --release-url [URL]</p>
|
||||
|
||||
<p> The URL to point to for release links, in printf format (with the tag as variable).</p>
|
||||
|
||||
<p> --github-site [URL]</p>
|
||||
|
||||
<p> The Enterprise Github site on which your project is hosted.</p>
|
||||
|
||||
<p> --github-api [URL]</p>
|
||||
|
||||
<p> The enterprise endpoint to use for your Github API.</p>
|
||||
|
||||
<p> --simple-list</p>
|
||||
|
||||
<p> Create simple list from issues and pull requests. Default is false.</p>
|
||||
|
||||
<p> --future-release [RELEASE-VERSION]</p>
|
||||
|
||||
<p> Put the unreleased changes in the specified release number.</p>
|
||||
|
||||
<p> --[no-]verbose</p>
|
||||
|
||||
<p> Run verbosely. Default is true</p>
|
||||
|
||||
<p> -v, --version</p>
|
||||
|
||||
<p> Print version number</p>
|
||||
|
||||
<p> -h, --help</p>
|
||||
|
||||
<p> Displays Help</p>
|
||||
|
||||
<h2 id="EXAMPLES">EXAMPLES</h2>
|
||||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Petr Korolev sky4winder@gmail.com</p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
<p><<a href="https://github.com/skywinder/github-changelog-generator/issues" data-bare-link="true">https://github.com/skywinder/github-changelog-generator/issues</a>></p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<p><<a href="https://github.com/skywinder/github-changelog-generator/" data-bare-link="true">https://github.com/skywinder/github-changelog-generator/</a>></p>
|
||||
|
||||
|
||||
<ol class='man-decor man-foot man foot'>
|
||||
<li class='tl'></li>
|
||||
<li class='tc'>October 2015</li>
|
||||
<li class='tr'>git-generate-changelog(1)</li>
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
179
man/git-generate-changelog.md
Normal file
179
man/git-generate-changelog.md
Normal file
|
@ -0,0 +1,179 @@
|
|||
git-generate-changelog(1) - Generate changelog from github
|
||||
================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
`git generate-changelog` [-h|--help] [-u|--user] [-p|--project]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Automatically generate change log from your tags, issues, labels and pull requests on GitHub.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
-u, --user [USER]
|
||||
|
||||
Username of the owner of target GitHub repo
|
||||
|
||||
-p, --project [PROJECT]
|
||||
|
||||
Name of project on GitHub
|
||||
|
||||
-t, --token [TOKEN]
|
||||
|
||||
To make more than 50 requests per hour your GitHub token is required. You can generate it at: https://github.com/settings/tokens/new
|
||||
|
||||
-f, --date-format [FORMAT]
|
||||
|
||||
Date format. Default is %Y-%m-%d
|
||||
|
||||
-o, --output [NAME]
|
||||
|
||||
Output file. Default is CHANGELOG.md
|
||||
|
||||
-b, --base [NAME]
|
||||
|
||||
Optional base file to append generated changes to.
|
||||
|
||||
--bugs-label [LABEL]
|
||||
|
||||
Setup custom label for bug-fixes section. Default is "**Fixed bugs:**
|
||||
|
||||
--enhancement-label [LABEL]
|
||||
|
||||
Setup custom label for enhancements section. Default is "**Implemented enhancements:**"
|
||||
|
||||
--issues-label [LABEL]
|
||||
|
||||
Setup custom label for closed-issues section. Default is "**Closed issues:**"
|
||||
|
||||
--header-label [LABEL]
|
||||
|
||||
Setup custom header label. Default is "# Change Log"
|
||||
|
||||
--pr-label [LABEL]
|
||||
|
||||
Setup custom label for pull requests section. Default is "**Merged pull requests:**"
|
||||
|
||||
--[no-]issues
|
||||
|
||||
Include closed issues in changelog. Default is true
|
||||
|
||||
--[no-]issues-wo-labels
|
||||
|
||||
Include closed issues without labels in changelog. Default is true
|
||||
|
||||
--[no-]pr-wo-labels
|
||||
|
||||
Include pull requests without labels in changelog. Default is true
|
||||
|
||||
--[no-]pull-requests
|
||||
|
||||
Include pull-requests in changelog. Default is true
|
||||
|
||||
--[no-]filter-by-milestone
|
||||
|
||||
Use milestone to detect when issue was resolved. Default is true
|
||||
|
||||
--[no-]author
|
||||
|
||||
Add author of pull-request in the end. Default is true
|
||||
|
||||
--unreleased-only
|
||||
|
||||
Generate log from unreleased closed issues only.
|
||||
|
||||
--[no-]unreleased
|
||||
|
||||
Add to log unreleased closed issues. Default is true
|
||||
|
||||
--unreleased-label [label]
|
||||
|
||||
Add to log unreleased closed issues. Default is true
|
||||
|
||||
--[no-]compare-link
|
||||
|
||||
Include compare link (Full Changelog) between older version and newer version. Default is true
|
||||
|
||||
--include-labels x,y,z
|
||||
|
||||
Only issues with the specified labels will be included in the changelog.
|
||||
|
||||
--exclude-labels x,y,z
|
||||
|
||||
Issues with the specified labels will be always excluded from changelog. Default is 'duplicate,question,invalid,wontfix'
|
||||
|
||||
--bug-labels x,y,z
|
||||
|
||||
Issues with the specified labels will be always added to "Fixed bugs" section. Default is 'bug,Bug'
|
||||
|
||||
--enhancement-labels x,y,z
|
||||
|
||||
Issues with the specified labels will be always added to "Implemented enhancements" section. Default is 'enhancement,Enhancement'
|
||||
|
||||
--between-tags x,y,z
|
||||
|
||||
Change log will be filled only between specified tags
|
||||
|
||||
--exclude-tags x,y,z
|
||||
|
||||
Change log will exclude specified tags
|
||||
|
||||
--since-tag x
|
||||
|
||||
Change log will start after specified tag
|
||||
|
||||
--due-tag x
|
||||
|
||||
Change log will end before specified tag
|
||||
|
||||
--max-issues [NUMBER]
|
||||
|
||||
Max number of issues to fetch from GitHub. Default is unlimited
|
||||
|
||||
--release-url [URL]
|
||||
|
||||
The URL to point to for release links, in printf format (with the tag as variable).
|
||||
|
||||
--github-site [URL]
|
||||
|
||||
The Enterprise Github site on which your project is hosted.
|
||||
|
||||
--github-api [URL]
|
||||
|
||||
The enterprise endpoint to use for your Github API.
|
||||
|
||||
--simple-list
|
||||
|
||||
Create simple list from issues and pull requests. Default is false.
|
||||
|
||||
--future-release [RELEASE-VERSION]
|
||||
|
||||
Put the unreleased changes in the specified release number.
|
||||
|
||||
--[no-]verbose
|
||||
|
||||
Run verbosely. Default is true
|
||||
|
||||
-v, --version
|
||||
|
||||
Print version number
|
||||
|
||||
-h, --help
|
||||
|
||||
Displays Help
|
||||
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
## AUTHOR
|
||||
|
||||
Written by Petr Korolev sky4winder@gmail.com
|
||||
|
||||
## REPORTING BUGS
|
||||
|
||||
<<https://github.com/skywinder/github-changelog-generator/issues>>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
<<https://github.com/skywinder/github-changelog-generator/>>
|
Loading…
Reference in New Issue
Block a user