Skip to content

Commit b4320f2

Browse files
committed
Restore old changelog generator settings
Signed-off-by: Michael Geiger <[email protected]>
1 parent 47f336f commit b4320f2

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

.sync.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Gemfile:
5656
optional:
5757
':development':
5858
- gem: 'github_changelog_generator'
59-
version: '~> 1.15'
6059
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.3.0')"
6160

6261
Rakefile:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ group :development do
2424
gem "puppet-module-posix-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]
2525
gem "puppet-module-win-default-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
2626
gem "puppet-module-win-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
27-
gem "github_changelog_generator", '~> 1.15', require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.3.0')
27+
gem "github_changelog_generator", require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.3.0')
2828
end
2929
group :system_tests do
3030
gem "puppet-module-posix-system-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]

Rakefile

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,9 @@ if Bundler.rubygems.find_name('github_changelog_generator').any?
5252
config.project = "#{changelog_project}"
5353
config.since_tag = "1.1.1"
5454
config.future_release = "#{changelog_future_release}"
55-
config.exclude_labels = ['maintenance']
56-
config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)."
55+
config.exclude_labels = ['no changelog','maintenance']
5756
config.add_pr_wo_labels = true
58-
config.issues = false
59-
config.merge_prefix = "### UNCATEGORIZED PRS; LABEL THEM ON GITHUB"
60-
config.configure_sections = {
61-
"Changed" => {
62-
"prefix" => "### Changed",
63-
"labels" => ["backwards-incompatible"],
64-
},
65-
"Added" => {
66-
"prefix" => "### Added",
67-
"labels" => ["enhancement", "feature"],
68-
},
69-
"Fixed" => {
70-
"prefix" => "### Fixed",
71-
"labels" => ["bug", "documentation", "bugfix"],
72-
},
73-
}
57+
config.issues = true
7458
end
7559
else
7660
desc 'Generate a Changelog from GitHub'

0 commit comments

Comments
 (0)