mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-12 01:47:24 +10:00
* Set version of binaries based on CS_VERSION environment variable * Use AppVeyor supplied product version * Automatically generate ProductCode GUID * Convert version (CS_VERSION) to number (CS_VERSION_NUM)
22 lines
334 B
Batchfile
22 lines
334 B
Batchfile
@cd %~dp0
|
|
|
|
@rem Default version
|
|
@set CS_VERSION=4.4.0
|
|
|
|
@if defined APPVEYOR_BUILD_VERSION (
|
|
@set CS_VERSION=%APPVEYOR_BUILD_VERSION%
|
|
)
|
|
|
|
@rem Convert . to _
|
|
@set CS_VERSION_STR=%CS_VERSION:.=_%
|
|
|
|
@call BuildBinaries.bat
|
|
@if ERRORLEVEL 1 exit /b 1
|
|
|
|
@call _BuildEnglish.bat
|
|
@if ERRORLEVEL 1 exit /b 1
|
|
|
|
call BuildArchives.bat
|
|
|
|
@exit /b 0
|