Include version number in DMG name
This commit is contained in:
parent
86b906e84e
commit
4d2ce8bcdf
1 changed files with 3 additions and 1 deletions
|
@ -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}`
|
||||
|
|
Loading…
Reference in a new issue