mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Move rubyforge task require
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
e2d4ebdea4
commit
d760d882d7
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
||||||
require 'rake/testtask'
|
require 'rake/testtask'
|
||||||
require 'rake/rdoctask'
|
require 'rake/rdoctask'
|
||||||
require 'rake/gempackagetask'
|
require 'rake/gempackagetask'
|
||||||
require 'rake/contrib/rubyforgepublisher'
|
|
||||||
require File.join(File.dirname(__FILE__), 'lib', 'active_support', 'version')
|
require File.join(File.dirname(__FILE__), 'lib', 'active_support', 'version')
|
||||||
|
|
||||||
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
|
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
|
||||||
|
@ -76,6 +75,7 @@ end
|
||||||
desc "Publish the release files to RubyForge."
|
desc "Publish the release files to RubyForge."
|
||||||
task :release => [ :package ] do
|
task :release => [ :package ] do
|
||||||
require 'rubyforge'
|
require 'rubyforge'
|
||||||
|
require 'rake/contrib/rubyforgepublisher'
|
||||||
|
|
||||||
packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
|
packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue