poco/packaging/Windows/NuGet/bap.cmd

25 lines
568 B
Batchfile
Raw Permalink Normal View History

echo off
rem Usage:
rem ------
2022-07-07 11:18:20 +02:00
rem bap [vsvers] [release] // bpp 150 1.10.1
rem ------
setlocal
if "%1"=="" goto usage
if "%2"=="" goto usage
del *.nupkg
del *.snupkg
pushd ..\..\..\
buildwin %1 rebuild all both Win32 samples tests msbuild noenv
buildwin %1 rebuild all both x64 samples tests msbuild noenv
popd
pack %1 %2
nuget push *.nupkg -source nuget.int -symbolsource snuget.int -noninteractive -skipduplicate -timeout 3000
goto exit
:usage
echo Usage:
echo ------
2022-07-07 11:18:20 +02:00
echo bap [vsvers] [release] // bpp 150 1.10.1
echo ------
:exit
endlocal
echo on