Skip to content
Newer
Older
100644 11 lines (9 sloc) 432 Bytes
5c89727 @dhh Simple release script
dhh authored
1 version = ARGV.pop
2
3 %w( activesupport activemodel activerecord activeresource actionpack actionmailer railties ).each do |framework|
4 puts "Building and pushing #{framework}..."
5 `cd #{framework} && gem build #{framework}.gemspec && gem push #{framework}-#{version}.gem && rm #{framework}-#{version}.gem`
6 end
7
8 puts "Building and pushing Rails..."
9 `gem build rails.gemspec`
10 `gem push rails-#{version}.gem`
11 `rm rails-#{version}.gem`
Something went wrong with that request. Please try again.