Skip to content

VSTS GitVersion variables are not resolved when tagging sources #1270

@BiribiriJaNai

Description

@BiribiriJaNai

Using the GitVersion task from VSTS Marketplace, it's working fine updating assembly info and nuget version, but when I want to use any GitVersion variable to tag or label my sources, the variable is not expanded.

gitversion-01

and so here is the result in the log file

gitversion-02

If I use a user-defined variable in the build process, i.e. $(tagVersion) and assigning a value (1.2.3.4) then the tag is correctly labeled with the variable's value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions