8000 Add Branch Normalisation when calling /output json · Issue #272 · GitTools/GitVersion · GitHub
[go: up one dir, main page]

Skip to content
8000
Add Branch Normalisation when calling /output json #272
Closed
@gep13

Description

@gep13

As discussed in this closed PR: #271

I believe that it would make sense to allow the ability to perform branch normalisation when calling GitVersion with /output json. Currently, within my psake script, I have to call GitVersion twice, once with /output buildserver to perform the branch normalisation, and set the build number, and then again with /output json so I can get the GitVersion variables to use later within my psake script.

I believe that allowing something like:

/output json /normalisebranches

would be a great additional switch to add to GitVersion to prevent the need to call it twice.

If this flag addition is not liked, then I believe that at the very least, when calling /output buildserver the json output should also be included, so that the variables can be parsed and used.

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

      0