Spaces:
Running on Zero
Running on Zero
Download bin/release.sh from alexnasa/pixel3dmm: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/alexnasa/pixel3dmm/resolve/122c4fcb31a83aa93ce1ecc4b5c49b2302d59cc5/bin/release.sh
- Command line
-
hf download hf://spaces/alexnasa/pixel3dmm@122c4fcb31a83aa93ce1ecc4b5c49b2302d59cc5/bin/release.sh
-
curl -L -o release.sh https://huggingface.co/spaces/alexnasa/pixel3dmm/resolve/122c4fcb31a83aa93ce1ecc4b5c49b2302d59cc5/bin/release.sh
334 Bytes
| while [[ "$#" -gt 0 ]]; do | |
| case $1 in | |
| -t|--test) test=1 ;; | |
| *) echo "Unknown parameter: $1"; exit 1 ;; | |
| esac | |
| shift | |
| done | |
| if [[ $test ]]; then | |
| twine_params="--repository testpypi" | |
| else | |
| twine_params="" | |
| fi | |
| cd "${0%/*}/.." | |
| rm -r dist/* | |
| python -m build | |
| twine upload $twine_params dist/* | |
| # Username: tobias.kirschstein | |