mirror of https://github.com/rails/rails
Use current time as build number
This commit is contained in:
parent
5f3f44a34e
commit
c329794e73
|
@ -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
|
Loading…
Reference in New Issue