From a54e3c43cb3db2730b89d3fc38ebeb8fafd001cf Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 24 Feb 2015 11:47:15 +0000 Subject: [PATCH] Tweaks for nightly build packaging --- hudson_mac_build_release.sh | 2 +- hudson_mac_package_release.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hudson_mac_build_release.sh b/hudson_mac_build_release.sh index 1e2b7d9..c97baa9 100755 --- a/hudson_mac_build_release.sh +++ b/hudson_mac_build_release.sh @@ -33,7 +33,7 @@ popd ################################################################################ echo "Starting on FlightGear" pushd fgBuild -cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -G Xcode ../flightgear +cmake -DFG_NIGHTLY=1 -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -G Xcode ../flightgear xcodebuild -configuration RelWithDebInfo -target install build diff --git a/hudson_mac_package_release.rb b/hudson_mac_package_release.rb index 6f3efad..e4f0dc1 100755 --- a/hudson_mac_package_release.rb +++ b/hudson_mac_package_release.rb @@ -68,7 +68,7 @@ fgCurrentYear = t.year fgVersion = File.read("#{srcDir}/version").strip volName="\"FlightGear #{fgVersion}\"" -dmgPath = Dir.pwd + "/output/FlightGear-#{fgVersion}.dmg" +dmgPath = Dir.pwd + "/output/FlightGear-#{fgVersion}-nightly.dmg" puts "Creating directory structure" `mkdir -p #{macosDir}`