From 58653380efaded89ed1b8c5e1971dbd593574b61 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Sat, 25 Nov 2023 15:05:59 +0300 Subject: [PATCH] und - Updated pack scripts for .NET 8.0 --- Type: und Breaking: False Doc Required: False Part: 1/1 --- tools/pack.cmd | 2 +- tools/pack.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pack.cmd b/tools/pack.cmd index f705b45..be7e97a 100644 --- a/tools/pack.cmd +++ b/tools/pack.cmd @@ -7,7 +7,7 @@ if "%releaseconfig%" == "" set releaseconfig=Release :packbin echo Packing binary... "%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-bin.zip "..\VisualCard\bin\%releaseconfig%\netstandard2.0\*" -"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\VisualCard.ShowContacts\bin\%releaseconfig%\net6.0\*" +"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\VisualCard.ShowContacts\bin\%releaseconfig%\net8.0\*" if %errorlevel% == 0 goto :complete echo There was an error trying to pack binary (%errorlevel%). goto :finished diff --git a/tools/pack.sh b/tools/pack.sh index d4aa29b..030c5ca 100644 --- a/tools/pack.sh +++ b/tools/pack.sh @@ -17,7 +17,7 @@ fi # Pack binary echo Packing binary... cd "../VisualCard/bin/$releaseconf/netstandard2.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd - -cd "../VisualCard.ShowContacts/bin/$releaseconf/net6.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd - +cd "../VisualCard.ShowContacts/bin/$releaseconf/net8.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd - if [ ! $? == 0 ]; then echo Packing using zip failed. exit 1