Skip to content
Snippets Groups Projects
deploy-python.sh 322 B
Newer Older
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROD_REPOSITORY="https://upload.pypi.org/legacy/"
TEST_REPOSITORY="https://test.pypi.org/legacy/"

twine upload \
    --username "$PYPI_USERNAME" \
    --password "$PYPI_PASSWORD" \
    --repository-url "$PROD_REPOSITORY" \
    "$DIR/../python/dist/"*