Rakefile in dep-selector-libgecode-1.0.2 vs Rakefile in dep-selector-libgecode-1.1.0.beta.1

- old
+ new

@@ -1,11 +1,10 @@ -require 'rubygems' -require 'rake' +require "bundler/gem_tasks" -require 'rubygems/package_task' +require "rubygems/package_task" -gemspec = eval(File.read('dep-selector-libgecode.gemspec')) +gemspec = eval(File.read("dep-selector-libgecode.gemspec")) Gem::PackageTask.new(gemspec) do |pkg| pkg.need_zip = true pkg.need_tar = true end @@ -15,6 +14,15 @@ ruby "extconf.rb" end task :clean do sh "git clean -fdx" +end + +require "github_changelog_generator/task" + +GitHubChangelogGenerator::RakeTask.new :changelog do |config| + config.future_release = DepSelectorLibgecode::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,Exclude From Changelog,Question".split(",") end