Fixed bug in nightly build script.

Fixed up formatting in nightly build script.
CQTexperiment
vspader 2007-05-21 13:40:45 +00:00
parent c4da2aedba
commit a7f66bb742
1 changed files with 49 additions and 46 deletions

View File

@ -12,6 +12,9 @@ appcastdoc = Document.new(appcast)
#Get the latest revision from the appcast
appcast_revision = Regexp.new('\d+$').match(appcastdoc.elements['//channel/item/title'].text.to_s()).to_s().to_i() || 0
#Remove modified files that may cause conflicts.
%x[rm -f Info.plist]
#Update to the latest revision
latest_revision = %x[svn update | tail -n 1].gsub(/[^\d]+/, '').to_i()