Spaces:
Runtime error
Runtime error
Download scripts/release.sh from Lightnin/chatdocsCC: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/spaces/Lightnin/chatdocsCC/resolve/main/scripts/release.sh
- Command line
-
hf download hf://spaces/Lightnin/chatdocsCC/scripts/release.sh
-
curl -L -o release.sh https://huggingface.co/spaces/Lightnin/chatdocsCC/resolve/main/scripts/release.sh
289 Bytes
| set -eu | |
| cd "$(dirname "$0")" | |
| cd .. | |
| if [ -n "$(git status --porcelain)" ]; then | |
| echo "Project has uncommitted changes." | |
| exit 1 | |
| fi | |
| trap clean EXIT | |
| clean() { | |
| rm -r build dist *.egg-info || true | |
| } | |
| clean | |
| python3 setup.py sdist bdist_wheel | |
| twine upload dist/* | |