Skip to content
Newer
Older
100755 25 lines (19 sloc) 723 Bytes
7f02cdd @dhh Removed query cache rescue as it could cause code to be run twice (cl…
dhh authored Dec 7, 2007
1 #!/usr/bin/env ruby
1b17cdd @dhh Released 0.11.1
dhh authored Mar 27, 2005
2
98634e7 @dhh Use Aras RubyForge uploader
dhh authored Apr 9, 2006
3 VERSION = ARGV.first
3397d97 @jeremy Complete AWS -> ARes changeover. Closes #8717 [kampers]
jeremy authored Oct 15, 2007
4 PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource)
1b17cdd @dhh Released 0.11.1
dhh authored Mar 27, 2005
5
cf0467c @dhh Use copy instead of export for release
dhh authored Sep 5, 2008
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 Mar 27, 2005
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 Apr 9, 2006
16 `cd release/rails/doc/api && scp -r * davidhh@wrath.rubyonrails.com:public_html/api`
1b17cdd @dhh Released 0.11.1
dhh authored Mar 27, 2005
17
18 # Upload packages
19 (PACKAGES + %w(railties)).each do |p|
98634e7 @dhh Use Aras RubyForge uploader
dhh authored Apr 9, 2006
20 `cd release/#{p} && echo "Releasing #{p}" && rake release`
1b17cdd @dhh Released 0.11.1
dhh authored Mar 27, 2005
21 end
22
23 # Upload rails tgz/zip
0068a8a @dhh Remember these for the next release
dhh authored Oct 5, 2007
24 `rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.tgz`
f9db769 @dhh Making ready for release of 2.1
dhh authored May 31, 2008
25 `rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.zip`
Something went wrong with that request. Please try again.