upload bigdl-llm wheel to sourceforge for backup (#10321)
* test: upload to sourceforge * update scripts * revert
This commit is contained in:
parent
30d009bca7
commit
178eea5009
1 changed files with 11 additions and 3 deletions
|
|
@ -71,7 +71,15 @@ if [ -d "${BIGDL_DIR}/python/llm/build" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${upload} == true ]; then
|
if [ ${upload} == true ]; then
|
||||||
upload_command="twine upload dist/bigdl_llm-${bigdl_version}-*-${verbose_pname}.whl"
|
# upload to pypi
|
||||||
echo "Please manually upload with this command: $upload_command"
|
upload_to_pypi_command="twine upload dist/bigdl_llm-${bigdl_version}-*-${verbose_pname}.whl"
|
||||||
$upload_command
|
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
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue