Rakefile in auser-poolparty-0.2.67 vs Rakefile in auser-poolparty-0.2.68
- old
+ new
@@ -51,19 +51,19 @@
f << res
end
end
desc "Generate gemspec for github"
-task :gh => [:gemspec, :ghgem] do
+task :gh => [:github_release] do
filepath = ::File.join(::File.dirname(__FILE__), "poolparty.gemspec")
data = open(filepath).read
spec = eval("$SAFE = 3\n#{data}")
yml = YAML.dump spec
File.open(filepath, "w+") do |f|
f << yml
end
end
desc "Generate github gemspec and latest gem"
-task :ghgem => [:local_deploy] do
- `mv #{::File.expand_path(::File.dirname(__FILE__))}/pkg/*.gem #{::File.expand_path(::File.dirname(__FILE__))}/pkg/poolparty.gem`
+task :ghgem => [:gh] do
+ %x[sudo gem install pkg/poolparty.gem]
end
\ No newline at end of file