Use current time as build number

This commit is contained in:
David Heinemeier Hansson 2008-10-19 20:49:01 +02:00
parent 5f3f44a34e
commit c329794e73
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
unless ARGV.first == "no_build"
build_number = build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i
build_number = Time.now.strftime("%Y%m%d%H%M%S").to_i
end
%w( activeresource actionmailer actionpack activerecord railties activesupport ).each do |pkg|
@ -11,5 +11,4 @@ end
else
`cd #{pkg} && rm -rf pkg && rake pgem && cd ..`
end
end
end