Make 'change log' a single word (#579)
This commit is contained in:
parent
d5f82c5994
commit
d9cf6ffd94
|
@ -1,4 +1,4 @@
|
|||
# Change Log
|
||||
# Changelog
|
||||
|
||||
## [v1.15.0-rc](https://github.com/skywinder/github-changelog-generator/tree/v1.15.0-rc) (2017-10-29)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.15.0.pre.beta...v1.15.0-rc)
|
||||
|
@ -591,7 +591,7 @@
|
|||
|
||||
**Implemented enhancements:**
|
||||
|
||||
- Parsing of existing Change Log file [\#212](https://github.com/skywinder/github-changelog-generator/issues/212)
|
||||
- Parsing of existing Changelog file [\#212](https://github.com/skywinder/github-changelog-generator/issues/212)
|
||||
- Warn users about 0 tags in repo. [\#208](https://github.com/skywinder/github-changelog-generator/issues/208)
|
||||
- Cleanup [\#220](https://github.com/skywinder/github-changelog-generator/pull/220) ([tuexss](https://github.com/tuexss))
|
||||
|
||||
|
@ -855,4 +855,4 @@
|
|||
## [0.0.1](https://github.com/skywinder/github-changelog-generator/tree/0.0.1) (2014-11-06)
|
||||
|
||||
|
||||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
||||
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
|
@ -22,7 +22,7 @@ module GitHubChangelogGenerator
|
|||
|
||||
log += File.read(options[:base]) if File.file?(options[:base])
|
||||
|
||||
credit_line = "\n\n\\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
|
||||
credit_line = "\n\n\\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
|
||||
log.gsub!(credit_line, "") # Remove old credit lines
|
||||
log += credit_line
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ module GitHubChangelogGenerator
|
|||
opts.on("--issues-label [LABEL]", "Setup custom label for closed-issues section. Default is \"**Closed issues:**\"") do |v|
|
||||
options[:issue_prefix] = v
|
||||
end
|
||||
opts.on("--header-label [LABEL]", "Setup custom header label. Default is \"# Change Log\"") do |v|
|
||||
opts.on("--header-label [LABEL]", "Setup custom header label. Default is \"# Changelog\"") do |v|
|
||||
options[:header] = v
|
||||
end
|
||||
opts.on("--front-matter [JSON]", "Add YAML front matter. Formatted as JSON because it's easier to add on the command line") do |v|
|
||||
|
@ -214,7 +214,7 @@ module GitHubChangelogGenerator
|
|||
simple_list: false,
|
||||
ssl_ca_file: nil,
|
||||
verbose: true,
|
||||
header: "# Change Log",
|
||||
header: "# Changelog",
|
||||
merge_prefix: "**Merged pull requests:**",
|
||||
issue_prefix: "**Closed issues:**",
|
||||
bug_prefix: "**Fixed bugs:**",
|
||||
|
|
|
@ -70,7 +70,7 @@ Setup custom label for closed\-issues section\. Default is "\fBClosed issues:\fR
|
|||
\-\-header\-label [LABEL]
|
||||
.
|
||||
.P
|
||||
Setup custom header label\. Default is "# Change Log"
|
||||
Setup custom header label\. Default is "# Changelog"
|
||||
.
|
||||
.P
|
||||
\-\-front\-matter [JSON]
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
|
||||
<p> --header-label [LABEL]</p>
|
||||
|
||||
<p> Setup custom header label. Default is "# Change Log"</p>
|
||||
<p> Setup custom header label. Default is "# Changelog"</p>
|
||||
|
||||
<p> --front-matter [JSON]</p>
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
|
||||
<p> --header-label [LABEL]</p>
|
||||
|
||||
<p> Setup custom header label. Default is "# Change Log"</p>
|
||||
<p> Setup custom header label. Default is "# Changelog"</p>
|
||||
|
||||
<p> --pr-label [LABEL]</p>
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ Automatically generate change log from your tags, issues, labels and pull reques
|
|||
|
||||
--header-label [LABEL]
|
||||
|
||||
Setup custom header label. Default is "# Change Log"
|
||||
Setup custom header label. Default is "# Changelog"
|
||||
|
||||
--front-matter [JSON]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Change Log
|
||||
# Changelog
|
||||
|
||||
## [1.3.10](https://github.com/skywinder/Github-Changelog-Generator/tree/1.3.10) (2015-03-18)
|
||||
|
||||
|
@ -302,4 +302,4 @@
|
|||
|
||||
|
||||
|
||||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
||||
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
|
@ -51,7 +51,7 @@ describe GitHubChangelogGenerator::Reader do
|
|||
it { is_expected.to be_empty }
|
||||
end
|
||||
context "when file has only the header" do
|
||||
subject { @reader.parse("# Change Log") }
|
||||
subject { @reader.parse("# Changelog") }
|
||||
it { is_expected.to be_an(Array) }
|
||||
it { is_expected.to be_empty }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user