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