Vcs_tag is null in CircleCI REST API

When calling the REST API on I would expect the vcs_tag key to contain the tag 2.5.4, but it is null. The vcs_revision is correct , i.e. 97c8fc167493e38bb3adce918bf992776ea7d404. If you look at commit 97c8fc1 on GitHub, you can see that the tag 2.5.4 is associated.

Am I misunderstanding the vcs_tag key or is there a bug in the REST API?

Thanks for reporting this. We currently only populate vcs_tag on builds that are triggered by pushing a tag.

Here’s a test project build where a tag was pushed to GitHub:

and here’s the API endpoint for that build with vcs_tag populated:

1 Like