Skip to content

Instantly share code, notes, and snippets.

@tas50
Created July 3, 2016 05:16
Show Gist options
  • Select an option

  • Save tas50/0c62f088263d1789c6068f884f49e752 to your computer and use it in GitHub Desktop.

Select an option

Save tas50/0c62f088263d1789c6068f884f49e752 to your computer and use it in GitHub Desktop.
begin
require "github_changelog_generator/task"
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.header = "# FoodCritic Changelog:"
config.future_release = FoodCritic::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(",")
config.issues = false
end
rescue LoadError
puts "github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment