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

Version Path
brief-1.17.14 tasks/upload.rake
brief-1.17.13 tasks/upload.rake
brief-1.17.12 tasks/upload.rake
brief-1.17.11 tasks/upload.rake
brief-1.17.10 tasks/upload.rake
brief-1.17.9 tasks/upload.rake
brief-1.17.8 tasks/upload.rake
brief-1.17.7 tasks/upload.rake
brief-1.17.5 tasks/upload.rake
brief-1.17.4 tasks/upload.rake
brief-1.17.3 tasks/upload.rake
brief-1.17.2 tasks/upload.rake
brief-1.17.1 tasks/upload.rake
brief-1.17.0 tasks/upload.rake
brief-1.16.2 tasks/upload.rake
brief-1.16.1 tasks/upload.rake
brief-1.16.0 tasks/upload.rake
brief-1.15.5 tasks/upload.rake
brief-1.15.4 tasks/upload.rake
brief-1.15.3 tasks/upload.rake