]> git.wincent.com - mkdtemp.git/commitdiff
Make 'push' task depend on built gem
authorWincent Colaiuta <win@wincent.com>
Thu, 29 Jul 2010 06:21:25 +0000 (08:21 +0200)
committerWincent Colaiuta <win@wincent.com>
Thu, 29 Jul 2010 06:21:25 +0000 (08:21 +0200)
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Rakefile

index cffe56237c9ce61eb120766a5fdd606ba7ce4c87..48eb62dc22ff5158b0d1af2188980505012227a5 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -88,6 +88,6 @@ task :build => :make do
 end
 
 desc 'Publish gem ("gem push")'
-task :push => :build do
-  system "gem push #{mkdtemp::VERSION}.gem"
+task :push => "mkdtemp-#{Dir::Mkdtemp::VERSION}.gem" do
+  system "gem push mkdtemp-#{Dir::Mkdtemp::VERSION}.gem"
 end