Ver Fonte

clobber release artifacts

Jeffrey Morgan há 1 ano atrás
pai
commit
8ba0f328af
1 ficheiros alterados com 2 adições e 2 exclusões
  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