summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-09-22 13:42:51 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-09-22 13:42:51 -0700
commit1f7ebce1e4770095552bc925011630d56c19ffa2 (patch)
tree0eeb7c766b5e4ada06a4287d62b1d8b829ed1cb5 /Rakefile
parentc724a8f81cae461b76c648de9959bd110e69c2fe (diff)
downloadffi-yajl-1f7ebce1e4770095552bc925011630d56c19ffa2.tar.gz
add Rake tasklcg/auto-changelog
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 983f049..e9746fb 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,12 +4,18 @@ require 'rspec/core/rake_task'
require 'rubygems/package_task'
require 'rake/extensiontask'
require 'ffi_yajl/version'
+require 'github_changelog_generator/task'
Dir[File.expand_path("../*gemspec", __FILE__)].reverse_each do |gemspec_path|
gemspec = eval(IO.read(gemspec_path))
Gem::PackageTask.new(gemspec).define
end
+GitHubChangelogGenerator::RakeTask.new :changelog do |config|
+ config.since_tag = '1.0.1'
+ config.exclude_labels = %w{duplicate question invalid wontfix changelog_skip}
+end
+
desc "Build it and ship it"
task ship: [:clean, :gem] do
sh("git tag #{FFI_Yajl::VERSION}")