Asbjørn Ulsberg
                                            Asbjørn Ulsberg
                                        
                                    Strange. I agree that `develop` should have been chosen due to: > INFO [11/04/21 18:33:54:31] Multiple source branches have been found, picking the first one (develop). I'm not sure why...
Detached `HEAD` is not supported. GitVersion needs to know which branch is being built in order to generate a sensible version number. I retract my previous comment that it should...
@smuellener, that's what the environment variable `GIT_BRANCH` is supposed to do. Or so I thought. After investigating, I found that `GIT_BRANCH` only affects normalization and not version calculation. I've submitted...
@koershov, sorry, but I borked the PR by not properly fixing the merge conflicts in 61ba92310ea3fb65e997242045c5960df20250fc. Feel free to rebase 35b904225ba4b6a0b52426ea3608891360bf25c2 on top of `support/5.x` at your leisure.
I think the cleanest is to repeat the argument: ```shell gitversion calculate --override-config tag-prefix=foo --override-config next-version=1.2.3 --override-config mode=Mainline ``` We might go for colon `:` instead of equals `=` to...
Sorry if I wan't entirely clear on where the separator occurs. I meant the separator between the key and the value in the value for the argument `--override-config`. Afaict, the...
Neat. Perhaps we should just drop `--override-config` and go with `--tag-prefix=foo` anyway? We just need to be sure that none of the configuration properties collide with other arguments. I don't...
I just discovered [docopt](https://github.com/docopt/docopt.net) which may be worth considering for the argument parsing.
If you read my examples, I've already suggested using `gitversion.json` or something similar to persist variables so they only have to be calculated once. Persisting them to one or more...
The environment variable `IGNORE_NORMALISATION_GIT_HEAD_MOVE` is only used as a flag to not throw the `BugException` you encountered, here: https://github.com/GitTools/GitVersion/blob/661c8c8d33786e584c5399bf38ef423e5e6cb1a2/src/GitVersion.Core/Core/GitPreparer.cs#L267-L278 It would be great to have this and other environment variables...