This does not work for me, even after removing owner at all and pushing tags in order.
The builds always end up as “not run”. The tags match the regex and even the commit message for the tagged commit does… This seems to be broken!
@mediafreakch the deployment stuff seems ok. The two suggestions I have are:
see what happens when you get rid of the general element. This may be conflicting - I know when running tags on Travis, you have to select all_branches and this may be the same
see what happens when you get rid of the deployment.beta.owner element. In order to get mine to work, I had to get rid of the owner all together. I think this is because my project is run under a Github repo rather than my account.
I can’t explain the “not run” thing at all. I’ve never seen that
This is possibly a bug in the handling, but the issue appears to be the general restrictions.
Based on tests, it seems that tags don’t get pushed as ANY branch, so CircleCI will not run them if there are any branch restrictions in place (even regex)
Try removing the general section and see if that works.
Thank you guys for helping me debug this! I tried without the general branch element and indeed it worked.
However I really need CircleCI to build only on master. What I did and worked too is using the ignore key instead of only:
If you are deleting the tag and recreating then it could also be a problem. Please ask support to clear your source cache.
Let me know if it works okay for you guys.