summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-08-04 11:55:27 +0100
committerThom May <thom@may.lt>2016-08-04 11:55:27 +0100
commitba932c206afdca662facdeb3f71aaf17c90cd413 (patch)
treecc0e13088d7bc4be1d556d5bc74fdf4923433503 /Rakefile
parent51a8b709c4af76714bed354831d93a292f56cfd2 (diff)
downloadmixlib-log-ba932c206afdca662facdeb3f71aaf17c90cd413.tar.gz
enable changelog generator
Signed-off-by: Thom May <thom@may.lt>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 57cd178..471c44f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -32,3 +32,12 @@ begin
rescue LoadError
puts "chefstyle/rubocop is not available. gem install chefstyle to do style checking."
end
+
+require "github_changelog_generator/task"
+
+GitHubChangelogGenerator::RakeTask.new :changelog do |config|
+ config.future_release = Mixlib::Log::VERSION
+ 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