Skip to content

GitVersionTask missing output, GitVersion_EscapedBranchName #2398

Closed
@owns

Description

@owns

I'm always frustrated when I have to do a task to access GitVersion_EscapedBranchName in my project's build.

Detailed Description

After GitVersionTask run, property GitVersion_EscapedBranchName should be created.

Context

Currently, I copy-and-pasted the GetVersion task with only one Output and parameter EscapedBranchName.
This Improvement would reduce "secret" GitVersion knowledge needed in my build process.
I think others may like to use the new property too - it's great!

Possible Implementation

1 line to add to after here copy-and-pasted with BranchName replaced with EscapedBranchName.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions