Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 25 lines (18 sloc) 0.763 kb
1b17cdd @dhh Released 0.11.1
dhh authored
1 #!/usr/local/bin/ruby
2
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
3 VERSION = ARGV.first
1b17cdd @dhh Released 0.11.1
dhh authored
4 PACKAGES = %w( activesupport activerecord actionpack actionmailer actionwebservice )
5
6 # Checkout source
863948f @dhh Post release minor fixes
dhh authored
7 `rm -rf release && svn export http://dev.rubyonrails.org/svn/rails/trunk release`
1b17cdd @dhh Released 0.11.1
dhh authored
8
9 # Create Rails packages
10 `cd release/railties && rake template=jamis package`
11
12 # Upload documentation
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
13 `cd release/rails/doc/api && scp -r * davidhh@wrath.rubyonrails.com:public_html/api`
1b17cdd @dhh Released 0.11.1
dhh authored
14
15 # Upload packages
16 (PACKAGES + %w(railties)).each do |p|
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
17 `cd release/#{p} && echo "Releasing #{p}" && rake release`
1b17cdd @dhh Released 0.11.1
dhh authored
18 end
19
20 # Upload rails tgz/zip
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
21 `rubyforge add_release rails rails 'REL #{VERSION}' rails-#{VERSION}.tgz`
22 `rubyforge add_release rails rails 'REL #{VERSION}' rails-#{VERSION}.zip`
1b17cdd @dhh Released 0.11.1
dhh authored
23
24 # Create SVN tag
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
25 puts "Remeber to create SVN tag"
Something went wrong with that request. Please try again.