I'm trying to put branch name into build number, but I can't find the right parameter.
I'm using build number format : %teamcity.build.branch%.{0}
It works, but when it trying to build default branch 'dev', teamcity names it as <default>
.
How to fix it ?