diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2010-03-01 21:55:43 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-01 19:00:19 -0800 |
commit | 11db694e0b825e3077e7545b08c1bf975997021f (patch) | |
tree | 4240c3072361a540ad49f53e47b517dc088d7d9b /actionpack | |
parent | 8bb162f008bb8e3a66b4a0d98b9f56cad45a4ab3 (diff) | |
download | rails-11db694e0b825e3077e7545b08c1bf975997021f.tar.gz rails-11db694e0b825e3077e7545b08c1bf975997021f.tar.bz2 rails-11db694e0b825e3077e7545b08c1bf975997021f.zip |
Remove cruft in the gem packaging and release code
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/Rakefile | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile index c45f88ed04..f099a4613e 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -6,16 +6,6 @@ require 'rake/packagetask' require 'rake/gempackagetask' require File.join(File.dirname(__FILE__), 'lib', 'action_pack', 'version') -PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' -PKG_NAME = 'actionpack' -PKG_VERSION = ActionPack::VERSION::STRING + PKG_BUILD -PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" - -RELEASE_NAME = "REL #{PKG_VERSION}" - -RUBY_FORGE_PROJECT = "actionpack" -RUBY_FORGE_USER = "webster132" - desc "Default Task" task :default => :test @@ -115,26 +105,7 @@ task :update_js => [ :update_scriptaculous ] # Publishing ------------------------------------------------------ desc "Publish the API documentation" -task :pgem => [:package] do - require 'rake/contrib/sshpublisher' - Rake::SshFilePublisher.new("gems.rubyonrails.org", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload - `ssh gems.rubyonrails.org '/u/sites/gems/gemupdate.sh'` -end - -desc "Publish the API documentation" task :pdoc => [:rdoc] do require 'rake/contrib/sshpublisher' Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/ap", "doc").upload -end - -desc "Publish the release files to RubyForge." -task :release => [ :package ] do - require 'rubyforge' - require 'rake/contrib/rubyforgepublisher' - - packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" } - - rubyforge = RubyForge.new - rubyforge.login - rubyforge.add_release(PKG_NAME, PKG_NAME, "REL #{PKG_VERSION}", *packages) -end +end
\ No newline at end of file |