1
0
Fork 0

Include version number in DMG name

This commit is contained in:
James Turner 2010-11-14 22:58:21 +00:00
parent 86b906e84e
commit 4d2ce8bcdf

View file

@ -40,7 +40,7 @@ end
prefixDir=Dir.pwd + "/dist"
dmgDir=Dir.pwd + "/image"
srcDir=Dir.pwd + "/flightgear"
dmgPath = Dir.pwd + "/fg_mac_nightly.dmg"
puts "Erasing previous image dir"
`rm -rf #{dmgDir}`
@ -55,6 +55,8 @@ volName="\"FlightGear Nightly Build\""
VERSION = File.read("#{srcDir}/version").strip
dmgPath = Dir.pwd + "/fg_mac_nightly_#{VERSION}.dmg"
puts "Creating directory structure"
`mkdir -p #{macosDir}`
`mkdir -p #{frameworksDir}`