To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / deploy / clean-build-and-package.bat
History | View | Annotate | Download (590 Bytes)
| 1 |
@rem Run this from within the top-level dir: deploy\clean-build-and-package |
|---|---|
| 2 |
@echo on |
| 3 |
|
| 4 |
@set /p VERSION=<version.h |
| 5 |
@set VERSION=%VERSION:#define VECT_VERSION "=% |
| 6 |
set VERSION=%VERSION:"=% |
| 7 |
|
| 8 |
@echo( |
| 9 |
@set YN=y |
| 10 |
@set /p YN="Proceed to clean, rebuild, package, and sign version %VERSION% [Yn] ?" |
| 11 |
|
| 12 |
@if "%YN%" == "Y" set YN=y |
| 13 |
@if "%YN%" neq "y" exit /b 3 |
| 14 |
|
| 15 |
@echo Proceeding |
| 16 |
call .\deploy\win64\build-and-package.bat sign |
| 17 |
if %errorlevel% neq 0 exit /b %errorlevel% |
| 18 |
|
| 19 |
mkdir packages |
| 20 |
copy build_win64\sonic-lineup.msi packages\sonic-lineup-%VERSION%-win64.msi |
| 21 |
|
| 22 |
@echo( |
| 23 |
|
| 24 |
dir packages |