mirror of
https://github.com/python/cpython.git
synced 2025-11-09 22:16:39 +00:00
Fix launcher.msi from rebuilding during release build.
This commit is contained in:
parent
ee22aad963
commit
ec1f28a63c
1 changed files with 8 additions and 1 deletions
|
|
@ -170,8 +170,15 @@ if not "%SKIPBUILD%" EQU "1" (
|
||||||
@echo off
|
@echo off
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "%OUTDIR_PLAT%" EQU "win32" (
|
||||||
|
msbuild "%D%launcher\launcher.wixproj" /p:Platform=x86 %CERTOPTS% /p:ReleaseUri=%RELEASE_URI%
|
||||||
|
if errorlevel 1 exit /B
|
||||||
|
) else if not exist "%PCBUILD%win32\en-us\launcher.msi" (
|
||||||
|
msbuild "%D%launcher\launcher.wixproj" /p:Platform=x86 %CERTOPTS% /p:ReleaseUri=%RELEASE_URI%
|
||||||
|
if errorlevel 1 exit /B
|
||||||
|
)
|
||||||
|
|
||||||
set BUILDOPTS=/p:Platform=%1 /p:BuildForRelease=true /p:DownloadUrl=%DOWNLOAD_URL% /p:DownloadUrlBase=%DOWNLOAD_URL_BASE% /p:ReleaseUri=%RELEASE_URI%
|
set BUILDOPTS=/p:Platform=%1 /p:BuildForRelease=true /p:DownloadUrl=%DOWNLOAD_URL% /p:DownloadUrlBase=%DOWNLOAD_URL_BASE% /p:ReleaseUri=%RELEASE_URI%
|
||||||
msbuild "%D%launcher\launcher.wixproj" /p:Platform=x86 %CERTOPTS% /p:ReleaseUri=%RELEASE_URI%
|
|
||||||
msbuild "%D%bundle\releaselocal.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=true
|
msbuild "%D%bundle\releaselocal.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=true
|
||||||
if errorlevel 1 exit /B
|
if errorlevel 1 exit /B
|
||||||
msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=false
|
msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue