add dist directory in build_windows.ps

This commit is contained in:
Jeffrey Morgan 2024-02-21 00:05:05 -05:00
parent b3eac61cac
commit 92423b0600

View file

@ -60,6 +60,7 @@ function buildOllama() {
/csp "Google Cloud KMS Provider" /kc ${env:KEY_CONTAINER} ollama.exe /csp "Google Cloud KMS Provider" /kc ${env:KEY_CONTAINER} ollama.exe
if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)} if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}
} }
New-Item -ItemType Directory -Path .\dist -Force
cp .\ollama.exe .\dist\ollama-windows-amd64.exe cp .\ollama.exe .\dist\ollama-windows-amd64.exe
} }