Mercurial > hg > tony
changeset 644:05d6e9ff35f0
Single script to rebuild, package, and copy properly named package to packages directory
author | Chris Cannam |
---|---|
date | Fri, 18 Oct 2019 14:19:36 +0100 |
parents | 5cdca5db75e4 |
children | 67b128a73fad |
files | deploy/clean-build-and-package.bat deploy/win64/build-and-package.bat |
diffstat | 2 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy/clean-build-and-package.bat Fri Oct 18 14:19:36 2019 +0100 @@ -0,0 +1,25 @@ +@rem Run this from within the top-level dir: deploy\clean-build-and-package +@echo on + +@set /p VERSION=<version.h +@set VERSION=%VERSION:#define TONY_VERSION "=% +set VERSION=%VERSION:"=% + +@echo "" +@set YN=y +@set /p YN="Proceed to clean, rebuild, package, and sign version %VERSION% [Yn] ?" + +@if "%YN%" == "Y" set YN=y +@if "%YN%" neq "y" exit /b 3 + +@echo Proceeding +call .\deploy\win64\build-and-package.bat sign +if %errorlevel% neq 0 exit /b %errorlevel% + +mkdir packages +copy build_win64\tony.msi packages\tony-%VERSION%-win64.msi + +@echo "" +@echo Done + +