Windows release script: debugging
This commit is contained in:
parent
62f47ccd9d
commit
1e5f4a4881
1 changed files with 4 additions and 10 deletions
|
@ -85,26 +85,20 @@ SET /P OSG_VERSION=<%TEMP%\osg-version.txt
|
||||||
SET /P OSG_SO_NUMBER=<%TEMP%\osg-so-number.txt
|
SET /P OSG_SO_NUMBER=<%TEMP%\osg-so-number.txt
|
||||||
SET /P OT_SO_NUMBER=<%TEMP%\openthreads-so-number.txt
|
SET /P OT_SO_NUMBER=<%TEMP%\openthreads-so-number.txt
|
||||||
|
|
||||||
|
IF %IS_NIGHTLY_BUILD% EQU 1 (
|
||||||
REM we have to handle a set of case:
|
REM FlightGear nightly: with fgdata, output filename would be "FlightGear-x.x.x-nightly-full.exe"
|
||||||
REM 1) FlightGear release: with fgdata, output filename would be "FlightGear-x.x.x.exe"
|
|
||||||
REM 2) FlightGear nightly: with fgdata, output filename would be "FlightGear-x.x.x-nightly-full.exe"
|
|
||||||
REM 3) FlightGear nightly: without fgdata, output filename would be "FlightGear-x.x.x-nightly.exe"
|
|
||||||
|
|
||||||
IF "%IS_NIGHTLY_BUILD%" EQU 1 (
|
|
||||||
REM Case 2)
|
|
||||||
CALL :writeBaseConfig
|
CALL :writeBaseConfig
|
||||||
CALL :writeNightlyFullConfig
|
CALL :writeNightlyFullConfig
|
||||||
iscc FlightGear.iss
|
iscc FlightGear.iss
|
||||||
|
|
||||||
REM Case 3)
|
REM FlightGear nightly: without fgdata, output filename would be "FlightGear-x.x.x-nightly.exe"
|
||||||
CALL :writeBaseConfig
|
CALL :writeBaseConfig
|
||||||
CALL :writeNightlyDietConfig
|
CALL :writeNightlyDietConfig
|
||||||
iscc FlightGear.iss
|
iscc FlightGear.iss
|
||||||
|
|
||||||
GOTO End
|
GOTO End
|
||||||
) ELSE (
|
) ELSE (
|
||||||
REM Case 1)
|
REM FlightGear release: with fgdata, output filename would be "FlightGear-x.x.x.exe"
|
||||||
CALL :writeBaseConfig
|
CALL :writeBaseConfig
|
||||||
CALL :writeReleaseConfig
|
CALL :writeReleaseConfig
|
||||||
iscc FlightGear.iss
|
iscc FlightGear.iss
|
||||||
|
|
Loading…
Add table
Reference in a new issue