Rakefile in asciidoctor-epub3-1.5.0.alpha.7 vs Rakefile in asciidoctor-epub3-1.5.0.alpha.8

- old
+ new

@@ -5,17 +5,20 @@ default_tasks = [] begin require 'bundler/gem_tasks' + default_tasks << :build + # 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 + # WARNING no longer works; it's now necessary to get master in a state ready for tagging task :commit_release do Bundler::GemHelper.new.send :guard_clean sh %(git commit --allow-empty -a -m 'Release #{Asciidoctor::Epub3::VERSION}') end - - # Enhance the release task to create an explicit commit for the release - Rake::Task[:release].enhance [:commit_release] rescue LoadError end begin require 'rdoc/task'