Fixed bug in nightly build script.
Fixed up formatting in nightly build script.CQTexperiment
parent
c4da2aedba
commit
a7f66bb742
|
@ -12,6 +12,9 @@ appcastdoc = Document.new(appcast)
|
||||||
#Get the latest revision from the 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
|
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
|
#Update to the latest revision
|
||||||
latest_revision = %x[svn update | tail -n 1].gsub(/[^\d]+/, '').to_i()
|
latest_revision = %x[svn update | tail -n 1].gsub(/[^\d]+/, '').to_i()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue