I try to deploy to PyPI on tags. The documentation suggests that on: tags: true
will trigger deployments when a tagged commit is pushed.
Here’s a snippet from my travis.yml
:
deploy:
- provider: script
script: SSHPASS=$DEPLOY_PASS sshpass -e scp -v -o StrictHostKeyChecking=no $PROJECT_DIR/artifacts/debian/* $DEPLOY_USER@$DEPLOY_HOST:shepherd/debian/
skip_cleanup: true
- provider: pypi
user: $PYPI_USER
password: $PYPI_PASS
on:
tags: true
all_branches: true
I’m pushing with: git push origin --tags
Here’s a link to the build: https://travis-ci.org/geissdoerfer/shepherd/jobs/559649862
Did I miss something?