Reputation: 25312
I am deploying a nuget package which is a result of TeamCity Feature Branch build. The build number format I use includes branch name: 1.0.0.%build.counter%-%vcsroot.branch%.
I need branch name at Octopus Deploy side to customize my deploy. What is the right way to have branch name as a Variable?
Upvotes: 3
Views: 1511
Reputation: 3704
We should be able to parse this out from the Package Name and set an Octopus Variable using something like this
Hope this helps
Upvotes: 6