Permalink
Browse files

improve release task

  • Loading branch information...
1 parent 33315ee commit f216e1863d403a2fe60a4a21cf458af0f6be881a @rkh committed Oct 27, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 lib/tool/version.rb
View
@@ -14,7 +14,7 @@ task(:install => :build) { gem :install, gem_file }
task(:publish => :install) { gem :push, gem_file }
task(:commit) { git :commit, '--allow-empty', '-m', message }
task(:tag) { git :tag, '-s', '-m', message, version }
-task(:push) { git :push }
+task(:push_commits) { git(:push) and git(:push, '--tags') }
task :release => [:spec, :commit, :publish, :tag, :push]
task :default => :spec
View
@@ -1,3 +1,3 @@
module Tool
- VERSION = '0.1.0'
+ VERSION = '0.1.1'
end

0 comments on commit f216e18

Please sign in to comment.