Deploying on tag - every tag listed in dashboard

Hi,

In my project, I am deploying on a tag as follows:

deployment:
staging:
tag: /v.*/
owner: owner
commands:
- docker build …

It works well, but in my dashboard I am seeing an entry for every tag pushed:

This list is going to get pretty long, pretty quick and I don’t want the tags in there - just the branches. I have another project and this doesn’t happen. The only difference is that the one with the tags in the list is from bitbucket and the other one is github. Is there a way I can avoid this?

Thanks!

If you are migrating to 2.0 ,

Use a work around I used :

CIRCLE_TAG="$(git tag -l --points-at HEAD)" && if [[ $CIRCLE_TAG =~ #regex# ]];
then #commands#
fi