When testing the new dynamic repo functionality (thanks for the new feature by the way!), I noticed that the NextVersion.txt file in my repo was not being honoured and therefore my attempts to bump the version number using that file were not working.
To replicate,
- Add a NextVersion.txt file to the target repo and set a bumped version number
- Execute GitVersion.exe using the -url -u and -p args which will invoke the new dynamic repo functionality in GitVersion.
Note that the version number GitVersion outputs won't be bumped as per the text file.
I believe if you also pass in an -targetbranch arg to GitVersion then it works but that's an assumption from reading the code not any actual testing.