summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2015-06-23 18:55:38 -0600
committerDan Allen <dan.j.allen@gmail.com>2015-06-23 19:09:02 -0600
commit38ae5b69d4a4b6afec55b19356cc59c55329b4af (patch)
tree31be80581ac644174cc9a394bee02fb831bb536b /Rakefile
parent475fe1b6a20202bfd7baaa22714e17726e81e302 (diff)
update Rakefile
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index ef387d56..10c6e61e 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