Skipping a deployment with the xxx provider because this is not a tagged commit


#1

I’m creating a tag and pushing it. The tag v3.0.0 reference to the latest commit 9dfa40c3bdab3aa788e711283afdf36c2fbdd1de on master, and then a build is triggered in Travis. I have declared the conditions below as seen in https://github.com/oauthlib/oauthlib/blob/v3.0.0/.travis.yml :

    on:
      tags: true
      all_branches: true
      condition: $TOXENV = py36
      repo: oauthlib/oauthlib

However, during the build job at https://travis-ci.org/oauthlib/oauthlib/jobs/476560090 the Travis output says that Skipping a deployment with the pypi provider because this is not a tagged commit

I have tried to rebuild it, without success.


#2

Deleting the tag remotely (on github) and pushing the exact same again, triggered a new build AND the deploy step.

git push --delete origin v3.0.0
git push origin v3.0.0

#3

https://travis-ci.org/oauthlib/oauthlib/jobs/476560090 was a master branch build, so the message was correct. Did you push the tags at that point? I don’t see any in https://travis-ci.org/oauthlib/oauthlib/builds.