Sha256: 4aae771cb3c17b6b4fa5acb0d8d1dfc033925b1b91754b05fb909fc346de0179
Contents?: true
Size: 440 Bytes
Versions: 4
Compression:
Stored size: 440 Bytes
Contents
require "gem_publisher" desc "Publish gem to RubyGems.org" task :publish_gem do |t| files = Dir.glob(File.expand_path('../*.gemspec',File.dirname(__FILE__))) files.each do |gemfile| if gemfile.split('-')[-1] == 'java.gemspec' tag_prefix = 'v-java' else tag_prefix = 'v' end gem = GemPublisher.publish_if_updated(gemfile, :rubygems, {:tag_prefix => tag_prefix}) puts "Published #{gem}" if gem end end
Version data entries
4 entries across 4 versions & 1 rubygems