Asbjørn Ulsberg

Results 545 comments of Asbjørn Ulsberg

Which branch is being built determines what version GitVersion generates. Each branch has different configuration (by default, as well as through the possibility to add your own in `GitVersion.yml`) that...

While this does sound like a bug, I wonder why you would tag the `hotfix` branch?

Are you able to submit this as a (failing) test in a PR?

Ah, sorry. I haven't had time to investigate.

@SphenicPaul, the argument `--depth=1` makes the repository being cloned a shallow clone, which will cause GitVersion to crash. When GitVersion crashes and outputs an exception instead of valid JSON, the...

I'm glad @SphenicPaul. As this is a bug in the task/action and not within GitVersion itself, I'm closing in favor of https://github.com/GitTools/actions/issues/730.

Sounds like this should be possible to reproduce in a test. Could you please create one in a PR?

@rcdailey, I followed your recipe and cannot reproduce the error. GitVersion `5.8.2` executes successfully: ```sh $ dotnet gitversion { "Major": 1, "Minor": 7, "Patch": 0, "PreReleaseTag": "change-versioning-bug.1", "PreReleaseTagWithDash": "-change-versioning-bug.1", "PreReleaseLabel":...

@arturcic, do you have any idea why `gitversion -version` has started returning `1.0.0`?