Rakefile in objcthin-0.1.0 vs Rakefile in objcthin-0.2.0
- old
+ new
@@ -16,7 +16,10 @@
end
task :publish do |t, args|
system 'gem build objcthin.gemspec'
path = Dir.glob('*.gem').last
- system 'gem push #{path}'
-end
+ command = "gem push #{path}"
+ system command
+ FileUtils.rm Dir.glob('*.gem')
+ puts 'completed'
+end
\ No newline at end of file