Label Sources with $(GitVersion.NuGetVersion) creates Tag with variable name, not value
问题 After a successful build, having configured the Label Format as $(GitVersion.NuGetVersion) , the resulting tag is set to $(GitVersion.NuGetVersion) not the actual expanded value of that variable. In the build output logging, there are 2 sections/plans: Build, and Finalize Build. Presumably, all the variable context/state is being lost once the build agent moves to the second section/plan. How am I supposed to tag the source with the resulting GitVersion if the context of the GitVersion