mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Add more robust error handling to all the sample build scripts
This commit is contained in:
@@ -12,7 +12,9 @@ set "version=%~1"
|
||||
echo.
|
||||
echo Compiling CSharpUno with dotnet...
|
||||
dotnet publish -c Release --framework net9.0-desktop -o %~dp0UnoSample\publish UnoSample\UnoSample.csproj
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
echo.
|
||||
echo Building Velopack Release v%version%
|
||||
vpk pack -u CSharpUno -v %version% -o %~dp0UnoSample\releases -p %~dp0UnoSample\publish --mainExe UnoSample.exe
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Check if version parameter is provided
|
||||
if [ "$#" -ne 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user