Skip to content

Commit

Permalink
update Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jun 24, 2015
1 parent 475fe1b commit 38ae5b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ default_tasks = []
begin
require 'bundler/gem_tasks'

# Enhance the release task to create an explicit commit for the release
#Rake::Task[:release].enhance [:commit_release]

# NOTE you don't need to push after updating version and committing locally
task :commit_release do
Bundler::GemHelper.new.send :guard_clean
sh %(git commit --allow-empty -a -m 'Release #{Asciidoctor::Pdf::VERSION}')
end

# Enhance the release task to create an explicit commit for the release
Rake::Task[:release].enhance [:commit_release]
rescue LoadError
end

Expand Down

0 comments on commit 38ae5b6

Please sign in to comment.