allow setting the branch to tag