Checkout branch name for tagged builds


#1

For tagged builds, branch name is not correctly checked out. For example, if my default branch is master and I am working on a feature branch called new_feature. When I tag my a commit in my new_feature branch and push it, CircleCI will check out tagged commit but the branch name is master, rather than new_feature.

Sample circle.yml for tagged builds:

deployment:
   release:
     tag: /deploy-.*/
     owner: xxxx
     commands:
        - ./infrastructure/deploy.sh

#2