Rakefile in pcp-server-ruby-sdk-0.0.6 vs Rakefile in pcp-server-ruby-sdk-0.1.0
- old
+ new
@@ -7,10 +7,10 @@
task :default => [:spec]
RuboCop::RakeTask.new # named rubocop
desc "Build and release the gem to RubyGems"
-task :release => [:rubocop, :spec, :build] do
+task :release => [:rubocop, :spec] do
version = `git tag --list`.split("\n").last
puts "Releasing version #{version}"
system("git tag -a v#{version} -m 'Version #{version}'")
system("git push origin --tags")
system("gem push pkg/#{File.basename(Dir.glob("*.gemspec").first, ".gemspec")}-#{version}.gem")
\ No newline at end of file