Files
hatchet/sdks/python/publish.sh
2025-03-11 14:57:13 -04:00

12 lines
234 B
Bash

#!/bin/bash
# This scripts generates and publishes the python package.
# env name is required
if [ -z "$POETRY_PYPI_TOKEN_PYPI" ]; then
echo "Please set POETRY_PYPI_TOKEN_PYPI variable"
exit 1
fi
poetry build
poetry publish