From 38ae5b69d4a4b6afec55b19356cc59c55329b4af Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 23 Jun 2015 18:55:38 -0600 Subject: [PATCH] update Rakefile --- Rakefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index ef387d56e..10c6e61e9 100644 --- a/Rakefile +++ b/Rakefile @@ -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