annotate deploy/clean-build-and-package.bat @ 63:58e766558fac

Add overarching rebuild and package script
author Chris Cannam
date Tue, 11 Feb 2020 09:47:44 +0000
parents
children 12bf881f9f9f
rev   line source
Chris@63 1 @rem Run this from within the top-level dir: deploy\clean-build-and-package
Chris@63 2 @echo on
Chris@63 3
Chris@63 4 @set /p VERSION=<version.h
Chris@63 5 @set VERSION=%VERSION:#define PACK_VERSION "=%
Chris@63 6 set VERSION=%VERSION:"=%
Chris@63 7
Chris@63 8 @echo(
Chris@63 9 @set YN=y
Chris@63 10 @set /p YN="Proceed to clean, rebuild, package, and sign version %VERSION% [Yn] ?"
Chris@63 11
Chris@63 12 @if "%YN%" == "Y" set YN=y
Chris@63 13 @if "%YN%" neq "y" exit /b 3
Chris@63 14
Chris@63 15 @echo Proceeding
Chris@63 16 call .\deploy\win64\build-and-package.bat sign
Chris@63 17 if %errorlevel% neq 0 exit /b %errorlevel%
Chris@63 18
Chris@63 19 mkdir packages
Chris@63 20 copy build_win64\vamp-plugin-pack.msi packages\vamp-plugin-pack-%VERSION%-win64.msi
Chris@63 21
Chris@63 22 @echo(
Chris@63 23 @echo Done