fpsql-py-package/package/upload.sh

11 lines
315 B
Bash
Raw Normal View History

2023-10-02 01:12:41 +00:00
echo "🧽 Pruging old package files... 🧽"
rm -rf dist
mkdir dist
echo "🧹 Formatting... 🧹"
2023-05-24 13:58:35 +00:00
black . > /dev/null
2023-10-02 01:12:41 +00:00
echo "🛠 Building... 🛠"
2023-05-24 13:58:35 +00:00
poetry build > /dev/null
2023-10-02 01:12:41 +00:00
echo -n "☁️ Uploading... ☁️"
poetry publish -u __token__ -p $TOKEN
#python3 -m twine upload -r pypi dist/*
echo "✨ All done! ✨"