From 178eea5009d19c271349c27773d3541c0c973c87 Mon Sep 17 00:00:00 2001 From: Shaojun Liu <61072813+liu-shaojun@users.noreply.github.com> Date: Tue, 5 Mar 2024 16:36:01 +0800 Subject: [PATCH] upload bigdl-llm wheel to sourceforge for backup (#10321) * test: upload to sourceforge * update scripts * revert --- python/llm/dev/release.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/python/llm/dev/release.sh b/python/llm/dev/release.sh index 9c8c042b..9444febf 100644 --- a/python/llm/dev/release.sh +++ b/python/llm/dev/release.sh @@ -71,7 +71,15 @@ if [ -d "${BIGDL_DIR}/python/llm/build" ]; then fi if [ ${upload} == true ]; then - upload_command="twine upload dist/bigdl_llm-${bigdl_version}-*-${verbose_pname}.whl" - echo "Please manually upload with this command: $upload_command" - $upload_command + # upload to pypi + upload_to_pypi_command="twine upload dist/bigdl_llm-${bigdl_version}-*-${verbose_pname}.whl" + echo "Please manually upload with this command: $upload_to_pypi_command" + $upload_to_pypi_command + + # upload to sourceforge + rsync -avzr -e \ + "sshpass -p '${SOURCEFORGE_PW}' ssh -o StrictHostKeyChecking=no" \ + ./dist/bigdl_llm-${bigdl_version}-*-${verbose_pname}.whl \ + intelanalytics@frs.sourceforge.net:/home/frs/project/analytics-zoo/bigdl-llm-whl/bigdl-llm/${bigdl_version}/ + fi