You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think there is anything we can do inside of the GitVersion task about this as long as VSTS doesn't provide an appropriate API. GitVersion currently just defines the variables using the ##vso[task.setvariable]value command. Variables are explicitely defined in the task context, and therefor available for subsequent tasks, but not outside of the context.
A workaround can be to add an additional task which adds the tag, which will work since the task will be in the same context and have therefore access to the variable.
Also, the actual labeling I think is tied to the release process, not the version generation process. I would argue this functionality should never end up in GitVersion.
This piggybacks off another issue elsewhere..
microsoft/azure-pipelines-agent#716
Not sure if this is something that should/could be solved here or there.
Basically, because the Finalize Build steps are not run on the agent, we're unable to add a tag using the NuGetVersion.
The text was updated successfully, but these errors were encountered: