Files
Nebula/publish.sh

16 lines
421 B
Bash
Raw Normal View History

#!/bin/bash
VENV_DIR="venv"
if [ -d "$VENV_DIR" ]; then
source "$VENV_DIR/bin/activate"
else
python3 -m venv venv
source "$VENV_DIR/bin/activate"
fi
pip install --upgrade pip
pip install -r requirements.txt
2026-06-20 12:15:52 +10:00
python setup.py sdist bdist_wheel || { echo "setup.py failed!"; exit 1; }
2026-06-20 12:15:52 +10:00
twine check dist/* || { echo "twine check failed!"; exit 1; }
twine upload dist/* || { echo "twine upload failed!"; exit 1; }