Sha256: 17dfe84a27ffd7702ae50e664807ff30f0212e85d7d8f31847db5625925e2749
Contents?: true
Size: 718 Bytes
Versions: 91
Compression:
Stored size: 718 Bytes
Contents
include Distribution desc 'Upload tarballs to GitHub' task :upload do ['upload:linux:x86', 'upload:linux:x86_64', 'upload:osx'].each do |task| begin Release.create Package.new('osx') rescue puts 'Release already uploaded, continuing...' end fork do Rake::Task[task].invoke exit end sleep 0.01 end Process.waitall end namespace :upload do namespace :linux do desc 'Upload for Linux x86' task :x86 do Tarball.upload Package.new('x86') end desc 'Upload for Linux x86_64' task :x86_64 do Tarball.upload Package.new('x86_64') end end desc 'Upload for OS X' task :osx do Tarball.upload Package.new('osx') end end
Version data entries
91 entries across 91 versions & 3 rubygems