Expose git tag as an environment variable


#1

The git branch, sha, and other information are already exposed, so it would be convenient if a build triggered by a tag also exposed the tag name itself. We’re currently working around this by determining it programmatically in our deploy step, but it would be nice to get rid of that and replace it with a nice simple $CIRCLE_TAG reference.


#2

Just noticed that CIRCLE_TAG is already defined, it’s just not documented :slight_smile:


#3