Sha256: 8264c879820bf5c6d6f67abcf25d41ddb2fb9cb4bb1d5c39ffa4cf709fbe6122

Contents?: true

Size: 608 Bytes

Versions: 33

Compression:

Stored size: 608 Bytes

Contents

desc "Publish the release files to RubyForge."
task :release => [ :package ] do
  packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{GEM_NAME}-#{GEM_VERSION}.#{ext}" }

  begin
    sh %{rubyforge login}
    sh %{rubyforge add_release #{RUBY_FORGE_PROJECT} #{GEM_NAME} #{GEM_VERSION} #{packages.join(' ')}}
    sh %{rubyforge add_file #{RUBY_FORGE_PROJECT} #{GEM_NAME} #{GEM_VERSION} #{packages.join(' ')}}
  rescue Exception => e
    puts
    puts "Release failed: #{e.message}"
    puts
    puts "Set PKG_BUILD environment variable if you do a subrelease (0.9.4.2008_08_02 when version is 0.9.4)"
  end
end

Version data entries

33 entries across 33 versions & 6 rubygems

Version Path
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/tasks/release.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/tasks/release.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/tasks/release.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/tasks/release.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/tasks/release.rb
ginst-2009.12.8 vendor/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
middleman-0.12.0.pre3 lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
middleman-0.12.0.pre2 lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
middleman-0.12.0.pre lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
ginst-2009.11.24 vendor/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
ginst-2009.11.23 vendor/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
rango-0.0.6 vendor/extlib/lib/extlib/tasks/release.rb
rango-0.1.pre vendor/extlib/lib/extlib/tasks/release.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/tasks/release.rb
middleman-0.10.17 vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
middleman-0.10.16 vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
middleman-0.10.15 vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
middleman-0.10.14 vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
ginst-2.0.1 vendor/gems/extlib-0.9.13/lib/extlib/tasks/release.rb
ginst-2.0.0 vendor/gems/extlib-0.9.13/lib/extlib/tasks/release.rb