Skip to content

Commit

Permalink
Use current time as build number
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Oct 19, 2008
1 parent 5f3f44a commit c329794
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 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|
Expand All @@ -11,5 +11,4 @@
else
`cd #{pkg} && rm -rf pkg && rake pgem && cd ..`
end
end

end

0 comments on commit c329794

Please sign in to comment.