瀏覽代碼

add `dist` directory in `build_windows.ps`

Jeffrey Morgan 1 年之前
父節點
當前提交
92423b0600
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scripts/build_windows.ps1

+ 1 - 0
scripts/build_windows.ps1

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