I'm using teamcity 8.x.x version.I configured my Teamcity for continuous deployment. I'm need a feature branching deployment. I see this document "http://confluence.jetbrains.com/display/TCD8/Working+with+Feature+Branches".
I'm trying this document implementing on my Teamcity. I have a problem.
My deployment config use "OctoPack" (nuget). My nuget package needs build count and branch name. example: 1.0.0.356-feature-1.
I'm try this versioning,
%build.number%-%teamcity.build.vcs.branch.VCS_ROOT_ID% ----> 1.0.0.356-refs/head/feature-1
this version not support nuget versioning. nuget not comparative "/".
I need this,
%build.number%-%teamcity.build.vcs.SHORT_BRANCH_NAME.VCS_ROOT_ID% ---> 1.0.0.356-feature-1
how can I ?
Thanks
question from:
https://stackoverflow.com/questions/20514112/git-short-branch-name-in-teamcity 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…