annotate deploy/clean-build-and-package.bat @ 2444:1b6a9c0484a3 spectrogram-export

Test export of zoomed 3d plot
author Chris Cannam
date Fri, 10 Jan 2020 10:53:22 +0000
parents c956435cb3e8
children
rev   line source
Chris@2389 1 @rem Run this from within the top-level dir: deploy\clean-build-and-package
Chris@2389 2 @echo on
Chris@2389 3
Chris@2389 4 @set /p VERSION=<version.h
Chris@2389 5 @set VERSION=%VERSION:#define SV_VERSION "=%
Chris@2389 6 set VERSION=%VERSION:"=%
Chris@2389 7
Chris@2398 8 @echo(
Chris@2389 9 @set YN=y
Chris@2389 10 @set /p YN="Proceed to clean, rebuild, package, and sign version %VERSION% [Yn] ?"
Chris@2389 11
Chris@2389 12 @if "%YN%" == "Y" set YN=y
Chris@2389 13 @if "%YN%" neq "y" exit /b 3
Chris@2389 14
Chris@2389 15 @echo Proceeding
Chris@2389 16 call .\deploy\win64\build-and-package.bat sign
Chris@2389 17 if %errorlevel% neq 0 exit /b %errorlevel%
Chris@2389 18
Chris@2389 19 mkdir packages
Chris@2389 20 copy build_win32\sonic-visualiser.msi packages\sonic-visualiser-%VERSION%-win32.msi
Chris@2389 21 copy build_win64\sonic-visualiser.msi packages\sonic-visualiser-%VERSION%-win64.msi
Chris@2389 22
Chris@2398 23 @echo(
Chris@2389 24 @echo Done