fkeycapture/package/upload.sh

11 lines
315 B
Bash
Raw Normal View History

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