Skip to content

Commit c329794

Browse files
author
David Heinemeier Hansson
committed
Use current time as build number
1 parent 5f3f44a commit c329794

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pushgems.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env ruby
22

33
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
55
end
66

77
%w( activeresource actionmailer actionpack activerecord railties activesupport ).each do |pkg|
@@ -11,5 +11,4 @@
1111
else
1212
`cd #{pkg} && rm -rf pkg && rake pgem && cd ..`
1313
end
14-
end
15-
14+
end

0 commit comments

Comments
 (0)