Open xpicio opened 1 month ago
I think we will remove the support of dynamic repository in the tool as I think it should be the responsibility of the developer that uses the tool to prepare the git repository for the tool to compute the version.
Thanks for the update.
Just to clarify, will the current issue we're facing be fixed, and are you planning to remove the dynamic repository support in a new major release 7.x.x ? Or will the dynamic repository support remain broken in the 6.x.x releases ?
I think it will be removed in v7 as part of the cli refactoring. If you want to invest some time in debugging it and filling in a PR, that work would be much appreciated and possibly included in the v6
Prerequisites
GitVersion package
GitVersion.Tool
GitVersion version
6.0.1 and 6.0.2
Operating system
macOS
What are you seeing?
Hello, i tried upgrading gitversion 5.12 to 6.0.2 to use this new feature #3453, but there seems to be an issue using the parameters
/url
and/b
. I also tried computing the version locally, and that works fine. The commanddocker run --rm -v $(pwd):/repo gittools/gitversion:6.0.2 /repo
works correctly, but I rely heavily on the remote mode.6.0.1 on develop with remote repository:
6.0.2 on develop with remote repository:
What is expected?
6.0.0-rc.2 on develop with remote repository -> 0.3.0-alpha.0
6.0.0-rc.2 on main with remote repository -> 0.2.4
Steps to Reproduce
Simply run:
docker run --rm gittools/gitversion:6.0.1 /url https://github.com/xpicio/compute-version.git /b develop
docker run --rm gittools/gitversion:6.0.2 /url https://github.com/xpicio/compute-version.git /b develop
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
No response