annotate deploy/clean-build-and-package.bat @ 698:ee97c742d184 tip

Default branch is now named default on git as well as hg, in case we ever want to switch to mirroring in the other direction
author Chris Cannam
date Thu, 27 Aug 2020 15:58:43 +0100
parents 9b94df4bd0e6
children
rev   line source
Chris@644 1 @rem Run this from within the top-level dir: deploy\clean-build-and-package
Chris@644 2 @echo on
Chris@644 3
Chris@644 4 @set /p VERSION=<version.h
Chris@644 5 @set VERSION=%VERSION:#define TONY_VERSION "=%
Chris@644 6 set VERSION=%VERSION:"=%
Chris@644 7
Chris@653 8 @echo(
Chris@644 9 @set YN=y
Chris@644 10 @set /p YN="Proceed to clean, rebuild, package, and sign version %VERSION% [Yn] ?"
Chris@644 11
Chris@644 12 @if "%YN%" == "Y" set YN=y
Chris@644 13 @if "%YN%" neq "y" exit /b 3
Chris@644 14
Chris@644 15 @echo Proceeding
Chris@644 16 call .\deploy\win64\build-and-package.bat sign
Chris@644 17 if %errorlevel% neq 0 exit /b %errorlevel%
Chris@644 18
Chris@644 19 mkdir packages
Chris@644 20 copy build_win64\tony.msi packages\tony-%VERSION%-win64.msi
Chris@644 21
Chris@653 22 @echo(
Chris@644 23 @echo Done
Chris@644 24
Chris@644 25