view deploy/clean-build-and-package.bat @ 104:d12ee4ccda41 v1.0-pre1-linux-macos

No, we'll have to revisit this later
author Chris Cannam
date Mon, 02 Mar 2020 09:47:59 +0000
parents 12bf881f9f9f
children 732a4bf233df
line wrap: on
line source
@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 PACK_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
del /q /s build_win64
call .\deploy\win64\build-64.bat sign
if %errorlevel% neq 0 exit /b %errorlevel%

mkdir packages
copy "build_win64\release\Vamp Plugin Pack Installer.exe" "packages\Vamp Plugin Pack Installer %VERSION%.exe"

@echo(
@echo Done