瀏覽代碼

clobber release artifacts

Jeffrey Morgan 1 年之前
父節點
當前提交
8ba0f328af
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      scripts/publish.sh

+ 2 - 2
scripts/publish.sh

@@ -29,8 +29,8 @@ cp ./ollama  dist/ollama-${OS}-${ARCH}
 gh release create -p v$VERSION -t v$VERSION
 
 # Upload the zip file.
-gh release upload v$VERSION ./dist/Ollama-${OS}-${ARCH}.zip
+gh release upload v$VERSION ./dist/Ollama-${OS}-${ARCH}.zip --clobber
 
 # Upload the binary.
-gh release upload v$VERSION ./dist/ollama-${OS}-${ARCH}
+gh release upload v$VERSION ./dist/ollama-${OS}-${ARCH} --clobber