diff options
author | John Keiser <john@johnkeiser.com> | 2016-04-12 16:04:27 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2016-04-18 14:21:02 -0700 |
commit | bbc1d6ebccbd7f22fea72a9c2b76ef19f3b5beb3 (patch) | |
tree | 97bd064d63268eb7ff39e1b4416abdff42ad0f34 /tasks/changelog.rb | |
parent | 612932e984e4a210891e5d2d00d25723afd6b6a4 (diff) | |
download | chef-bbc1d6ebccbd7f22fea72a9c2b76ef19f3b5beb3.tar.gz |
Simplify external tests and make them work with Gemfile.lock
Diffstat (limited to 'tasks/changelog.rb')
-rw-r--r-- | tasks/changelog.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tasks/changelog.rb b/tasks/changelog.rb new file mode 100644 index 0000000000..fda94764ae --- /dev/null +++ b/tasks/changelog.rb @@ -0,0 +1,12 @@ +begin + require "github_changelog_generator/task" + + GitHubChangelogGenerator::RakeTask.new :changelog do |config| + config.future_release = Chef::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 +rescue LoadError + puts "github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs" +end |