Rakefile in ohai-8.26.1 vs Rakefile in ohai-13.0.0
- old
+ new
@@ -20,5 +20,19 @@
require "chefstyle"
require "rubocop/rake_task"
RuboCop::RakeTask.new(:style) do |task|
task.options += ["--display-cop-names", "--no-color"]
end
+
+begin
+ require "github_changelog_generator/task"
+
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
+ config.future_release = Ohai::VERSION
+ config.max_issues = 0
+ config.add_issues_wo_labels = false
+ config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature".split(",")
+ config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
+ config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question,Discussion".split(",")
+ end
+rescue LoadError
+end