A probabilistic earthquake source inversion framework. Designed and crafted in Mordor. https://pyrocko.org/grond/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
544 B

11 months ago
11 months ago
  1. #!/bin/bash
  2. destination=$1
  3. if [ -z "$destination" ] ; then
  4. echo "usage: upload.sh (testing|live)"
  5. fi
  6. if [ "$destination" == 'live' ] ; then
  7. twine upload dist/grond-* \
  8. --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD" \
  9. --skip-existing --disable-progress-bar --comment='*grunz-grunz*'
  10. else
  11. twine upload --repository-url https://test.pypi.org/legacy/ dist/grond-* \
  12. --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD" \
  13. --skip-existing --disable-progress-bar --comment='*grunz-grunz*'
  14. fi