GitVersion
GitVersion copied to clipboard
[Bug] Inconsistency in specifying updateassemblyinfo and updateprojectfiles
Version: GitVersion 5.10.3+Branch.support-5.x.Sha.bc9c9d003e655385e3dd1ba3bd013e04062d2f9b
dotnet-gitversion . /output buildserver /nofetch /updateassemblyinfo false /updateprojectfiles true
dotnet-gitversion . /output buildserver /nofetch /updateassemblyinfo true /updateprojectfiles false
First command runs and updates the project files, second command fails with "Cannot specify both updateassemblyinfo and updateprojectfiles in the same run. Please rerun GitVersion with only one parameter". I started with the first one (parameterized the booleans in the build script), and then stumbled onto the second one when I changed the boolean params around.
Is the bug here that GitVersion fails even though false is passed to one of the /update… parameters?
The failure message is in quotation marks in my initial comment.
I'm not asking about the message, I'm wondering why you're considering it a bug.
I pointed out that one combination fails, the other works. I would have expected both to fail.
Acknowledged! I agree that both should fail.
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs.
This issue was closed because it has been stalled for 30 days with no activity. Thank you for your contributions