Hey.
We have created builds for our repository with the same .travis.yml config for years and yesterday Github Releases stopped triggering builds.
A little bit of digging lead me to following:
- When a Release is created in Github, Travis receives a push request with the name of the branch that was tagged (master) not with the name of the tag (vX.X.X).
- Previously a Release created a push event request with the name of the Tag (vX.X.X) which triggered a build.
In our case “master” is not in the allow list but we declare a regex for allowing tags.
What has changed and what is the recommended course of action??
There is no documentation or changelog present that suggests a necessary update to our .travis.yml config.
example from .travis.yml
branches:
only:
- ...
- /^v\d+\.\d+(\.\d+)$/
deploy:
- provider: ...
...
on:
repo: ...
tags: true