Skip to content
This repository
Newer
Older
100755 25 lines (19 sloc) 0.723 kb
7f02cdd4 »
2007-12-07 Removed query cache rescue as it could cause code to be run twice (cl…
1 #!/usr/bin/env ruby
1b17cddc »
2005-03-27 Released 0.11.1
2
98634e77 »
2006-04-09 Use Aras RubyForge uploader
3 VERSION = ARGV.first
3397d971 »
2007-10-15 Complete AWS -> ARes changeover. Closes #8717 [kampers]
4 PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource)
1b17cddc »
2005-03-27 Released 0.11.1
5
cf0467c6 »
2008-09-05 Use copy instead of export for release
6 # Copy source
7 `mkdir release`
8 (PACKAGES + %w(railties)).each do |p|
9 `cp -R #{p} release/#{p}`
10 end
1b17cddc »
2005-03-27 Released 0.11.1
11
12 # Create Rails packages
13 `cd release/railties && rake template=jamis package`
14
15 # Upload documentation
98634e77 »
2006-04-09 Use Aras RubyForge uploader
16 `cd release/rails/doc/api && scp -r * davidhh@wrath.rubyonrails.com:public_html/api`
1b17cddc »
2005-03-27 Released 0.11.1
17
18 # Upload packages
19 (PACKAGES + %w(railties)).each do |p|
98634e77 »
2006-04-09 Use Aras RubyForge uploader
20 `cd release/#{p} && echo "Releasing #{p}" && rake release`
1b17cddc »
2005-03-27 Released 0.11.1
21 end
22
23 # Upload rails tgz/zip
0068a8a1 »
2007-10-05 Remember these for the next release
24 `rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.tgz`
f9db7695 »
2008-05-31 Making ready for release of 2.1
25 `rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.zip`
Something went wrong with that request. Please try again.