11 lines
315 B
Bash
11 lines
315 B
Bash
|
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! ✨"
|