tasks/gem.rb in gaptool-server-0.6.3 vs tasks/gem.rb in gaptool-server-0.6.4
- old
+ new
@@ -12,22 +12,9 @@
puts " * #{f}"
File.unlink(f)
end
end
- desc "Bump the version"
- task :bump do
- version = File.read('VERSION').strip
- nver = version.next
- f = File.open('VERSION', 'w')
- f.write(nver)
- f.close
- puts "Bumped #{version} => #{nver}"
- exec "git commit -m 'Bump version to v#{nver}' VERSION"
- Rake::Task["tag"].invoke
- Rake::Task["gem:build"].invoke
- end
-
desc "Push"
task :push => :build do
version = File.read('VERSION').strip
sys(%W(gem push gaptool-server-#{version}.gem))
end