add publish script

This commit is contained in:
AJ Slater 2024-02-23 19:20:36 -08:00
parent 8608d4e805
commit 014c7191cd

7
bin/publish-pypi.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# Publish the created package
set -euo pipefail
cd "$(dirname "$0")/.."
pip3 install --upgrade pip
pip3 install --upgrade poetry
poetry publish -u "$PYPI_USER" -p "$PYPI_PASS"