Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use current time as build number

  • Loading branch information...
commit c329794e7334f3d355d0a039e23a7145ad40ed35 1 parent 5f3f44a
@dhh dhh authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 pushgems.rb
View
5 pushgems.rb
@@ -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 @@
else
`cd #{pkg} && rm -rf pkg && rake pgem && cd ..`
end
-end
-
+end
Please sign in to comment.
Something went wrong with that request. Please try again.