summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-09-30 11:18:10 -0700
committerJohn Keiser <john@johnkeiser.com>2015-09-30 11:18:10 -0700
commit2e42b8dd7e06e997cc16e6754a83e4d0135ed0e5 (patch)
tree950723a78d1388c265879970bba4bbcbe3dcda18 /Rakefile
parent7b1fddaf985d87d92a4200633a043e2b657952f1 (diff)
downloadchef-zero-2e42b8dd7e06e997cc16e6754a83e4d0135ed0e5.tar.gz
Bump revision to 4.3.2v4.3.2
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 1ce1b92..f89acbb 100644
--- a/Rakefile
+++ b/Rakefile
@@ -29,3 +29,13 @@ task :berkshelf_spec do
gem_path = Bundler.environment.specs['berkshelf'].first.full_gem_path
system("cd #{gem_path} && thor spec:ci")
end
+
+require 'github_changelog_generator/task'
+
+GitHubChangelogGenerator::RakeTask.new :changelog do |config|
+ config.token = ENV['GITHUB_CHANGELOG_TOKEN']
+ # config.future_release = ChefZero::VERSION
+ config.enhancement_labels = "enhancement,Enhancement,New Feature".split(',')
+ config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(',')
+ config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog".split(',')
+end