1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

No more svn version numbers to rely on, use timestamps instead

This commit is contained in:
David Heinemeier Hansson 2008-05-11 18:21:47 -05:00
parent 5d9c602698
commit f1b6e1ae61

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|