diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-03 16:59:17 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-03 17:00:29 -0800 |
commit | d5c5be583d69f55c788d3b6489f72d5ce8732a5e (patch) | |
tree | d33791bfe1082238047fc511713229bd74fdd532 /Rakefile | |
parent | 6055c8d41c3834d5a3fe606bab63ac1497efe8b9 (diff) | |
download | ohai-d5c5be583d69f55c788d3b6489f72d5ce8732a5e.tar.gz |
rescue github-changelog-generator in Rakefile
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to '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 |