Hey there, so from time to time I run into a situation where bitbucket would “batch” hooks and send multiple triggers as one hook.
The easiest to explain (and most verifiable) one would be pushing both a commit and a new tag at the same time.
Bitbucket will send the following JSON (cleaned for the purpose of this discussion):
But drone will only ever pick up the first change (i.e. push to master) and ignore the 2nd one consistently.
I guess this might be due to the fact that Hooks, internally, are supposed to return a single build only, is that correct?
Would it make sense to change that? I don’t believe I’m the only one using tags and right now I must always push first, then create the tag.
Thanks in advance for any response!