diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-03 17:05:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 17:05:34 -0800 |
commit | 78cd084d9fe65e044a8d2f1f2f055151b20ac9d1 (patch) | |
tree | d33791bfe1082238047fc511713229bd74fdd532 | |
parent | ca3bdf456c80b68e48e6a380624640f8f85d7811 (diff) | |
parent | d5c5be583d69f55c788d3b6489f72d5ce8732a5e (diff) | |
download | ohai-78cd084d9fe65e044a8d2f1f2f055151b20ac9d1.tar.gz |
Merge pull request #961 from chef/lcg/kinda-hate-github-changelog-generator
rescue github-changelog-generator in Rakefile
-rw-r--r-- | Rakefile | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -23,13 +23,16 @@ RuboCop::RakeTask.new(:style) do |task| task.options += ["--display-cop-names", "--no-color"] end -require "github_changelog_generator/task" +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(",") + 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 |