Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 25 lines (19 sloc) 0.723 kB
7f02cdd @dhh Removed query cache rescue as it could cause code to be run twice (cl…
dhh authored
1 #!/usr/bin/env ruby
1b17cdd @dhh Released 0.11.1
dhh authored
2
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
3 VERSION = ARGV.first
3397d97 @jeremy Complete AWS -> ARes changeover. Closes #8717 [kampers]
jeremy authored
4 PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource)
1b17cdd @dhh Released 0.11.1
dhh authored
5
cf0467c @dhh Use copy instead of export for release
dhh authored
6 # Copy source
7 `mkdir release`
8 (PACKAGES + %w(railties)).each do |p|
9 `cp -R #{p} release/#{p}`
10 end
1b17cdd @dhh Released 0.11.1
dhh authored
11
12 # Create Rails packages
13 `cd release/railties && rake template=jamis package`
14
15 # Upload documentation
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
16 `cd release/rails/doc/api && scp -r * davidhh@wrath.rubyonrails.com:public_html/api`
1b17cdd @dhh Released 0.11.1
dhh authored
17
18 # Upload packages
19 (PACKAGES + %w(railties)).each do |p|
98634e7 @dhh Use Aras RubyForge uploader
dhh authored
20 `cd release/#{p} && echo "Releasing #{p}" && rake release`
1b17cdd @dhh Released 0.11.1
dhh authored
21 end
22
23 # Upload rails tgz/zip
0068a8a @dhh Remember these for the next release
dhh authored
24 `rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.tgz`
f9db769 @dhh Making ready for release of 2.1
dhh authored
25 `rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.zip`
Something went wrong with that request. Please try again.