Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.1.5
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (18 sloc) 0.774 kb
#!/usr/local/bin/ruby
VERSION = ARGV.first
PACKAGES = %w( activesupport activerecord actionpack actionmailer actionwebservice )
# Checkout source
`rm -rf release && svn export http://dev.rubyonrails.org/svn/rails/branches/stable release`
# Create Rails packages
`cd release/railties && rake template=jamis package`
# Upload documentation
`cd release/rails/doc/api && scp -r * davidhh@wrath.rubyonrails.com:public_html/api`
# Upload packages
(PACKAGES + %w(railties)).each do |p|
`cd release/#{p} && echo "Releasing #{p}" && rake release`
end
# Upload rails tgz/zip
`rubyforge add_release rails rails 'REL #{VERSION}' rails-#{VERSION}.tgz`
`rubyforge add_release rails rails 'REL #{VERSION}' rails-#{VERSION}.zip`
# Create SVN tag
puts "Remeber to create SVN tag"
Jump to Line
Something went wrong with that request. Please try again.