Mercurial > hg > sonic-visualiser
comparison deploy/clean-build-and-package.bat @ 2389:0a2cdcbc22e6
Single script to rebuild, package, and copy properly named package to packages directory
author | Chris Cannam |
---|---|
date | Fri, 18 Oct 2019 14:20:32 +0100 |
parents | |
children | c956435cb3e8 |
comparison
equal
deleted
inserted
replaced
2388:5234553bde5c | 2389:0a2cdcbc22e6 |
---|---|
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 SV_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_win32\sonic-visualiser.msi packages\sonic-visualiser-%VERSION%-win32.msi | |
21 copy build_win64\sonic-visualiser.msi packages\sonic-visualiser-%VERSION%-win64.msi | |
22 | |
23 @echo "" | |
24 @echo Done |