Skip to content

Commit 82bc712

Browse files
committed
fixup! chore: fix release process
1 parent 0f35414 commit 82bc712

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/Publish.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ if (Test-Path $buildPath) {
104104
New-Item -ItemType Directory -Path $buildPath -Force
105105

106106
# Build in release mode
107+
& dotnet.exe restore
108+
if ($LASTEXITCODE -ne 0) { throw "Failed to dotnet restore" }
107109
$servicePublishDir = Join-Path $buildPath "service"
108110
& dotnet.exe publish .\Vpn.Service\Vpn.Service.csproj -c Release -a $arch -o $servicePublishDir
109111
if ($LASTEXITCODE -ne 0) { throw "Failed to build Vpn.Service" }

0 commit comments

Comments
 (0)