Skip to content

Commit

Permalink
A few updates, still in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Sep 4, 2008
1 parent e8bf065 commit 61faf89
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
VERSION = ARGV.first
PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource)

# Checkout source
`rm -rf release && svn export http://dev.rubyonrails.org/svn/rails/trunk release`
# Copy source
`mkdir release`
(PACKAGES + %w(railties)).each do |p|
`cp -R #{p} release/#{p}`
end

# Create Rails packages
`cd release/railties && rake template=jamis package`
Expand All @@ -19,7 +22,4 @@

# Upload rails tgz/zip
`rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.tgz`
`rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.zip`

# Create SVN tag
puts "Remember to create SVN tag"
`rubyforge add_release rails rails 'REL #{VERSION}' release/rails-#{VERSION}.zip`

0 comments on commit 61faf89

Please sign in to comment.