Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 31 lines (22 sloc) 0.889 kb
1b17cdd @dhh Released 0.11.1
dhh authored
1 #!/usr/local/bin/ruby
2
3 PACKAGES = %w( activesupport activerecord actionpack actionmailer actionwebservice )
4
5 unless ruby_forge_password = ARGV.first
6 print "rubyforge.org's password: "
7 ruby_forge_password = STDIN.gets.chomp
8 end
9
10 # Checkout source
863948f @dhh Post release minor fixes
dhh authored
11 `rm -rf release && svn export http://dev.rubyonrails.org/svn/rails/trunk release`
1b17cdd @dhh Released 0.11.1
dhh authored
12
13 # Create Rails packages
14 `cd release/railties && rake template=jamis package`
15
16 # Upload documentation
9282062 @dhh Upload documentation to the new server
dhh authored
17 `cd release/rails/doc/api && scp -r * davidhh@wrath.rubyonrails.com:public_html/rails`
1b17cdd @dhh Released 0.11.1
dhh authored
18 PACKAGES.each do |p|
19 `cd release/#{p} && echo "Publishing documentation for #{p}" && rake template=jamis pdoc`
20 end
21
22 # Upload packages
23 (PACKAGES + %w(railties)).each do |p|
24 `cd release/#{p} && echo "Releasing #{p}" && RUBY_FORGE_PASSWORD=#{ruby_forge_password} rake release`
25 end
26
27 # Upload rails tgz/zip
28
29 # Create SVN tag
863948f @dhh Post release minor fixes
dhh authored
30 `cd ..; svn cp trunk tags/rel_#{ARGV[1]}`
Something went wrong with that request. Please try again.