Michael Holler | 0c8b4c7 | 2017-11-22 16:46:00 -0600 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
Mike Holler | da0bda6 | 2017-11-27 16:05:45 -0600 | [diff] [blame] | 4 | PROD_REPOSITORY="https://upload.pypi.org/legacy/" |
Michael Holler | 0c8b4c7 | 2017-11-22 16:46:00 -0600 | [diff] [blame] | 5 | TEST_REPOSITORY="https://test.pypi.org/legacy/" |
| 6 | |
| 7 | twine upload \ |
Mike Holler | 7799642 | 2017-12-13 15:14:01 -0600 | [diff] [blame] | 8 | --username "$PYPI_USERNAME" \ |
Michael Holler | 0c8b4c7 | 2017-11-22 16:46:00 -0600 | [diff] [blame] | 9 | --password "$PYPI_PASSWORD" \ |
| 10 | --repository-url "$PROD_REPOSITORY" \ |
| 11 | "$DIR/../python/dist/"* |
| 12 | |