Drone 0.8 tags filter not working

We have a drone installed with drone/drone:0.8 & drone/agent:0.8. When we tag for example SNAPSHOT-1.0.0 drone runs both of the steps.

Our pipeline has these steps

....
when:
  tag: RELEASE*

...
when:
  tag: SNAPSHOT*

if I remember correctly that tag attribute in the when clause was never actually implemented, which means the docs were inaccurate. I think in stead you can use ref like this:

when:
  ref: refs/tags/SNAPSHOT*

thanks! that did work!!