Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use current time as build number

  • Loading branch information...
commit c329794e7334f3d355d0a039e23a7145ad40ed35 1 parent 5f3f44a
David Heinemeier Hansson dhh authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

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

0 comments on commit c329794

Please sign in to comment.
Something went wrong with that request. Please try again.