-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update GitVersionTask to latest version to resolve issue requiring MS… #319
Update GitVersionTask to latest version to resolve issue requiring MS… #319
Conversation
…BUILDSINGLELOADCONTEXT workaround
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, this will hopefully resolve the main source of issues coming in lately :)
In the CI log I saw warnings of the following kind:
/home/travis/.nuget/packages/gitversiontask/5.5.1/build/GitVersionTask.targets(10,9): warning : 2020-12-20 16:18:25 WARN [12/20/20 16:18:25:14] Failed to inherit Increment branch configuration, ended up with: master, origin/master [/home/travis/build/boogie-org/boogie/Source/BoogieDriver/BoogieDriver.csproj]
/home/travis/.nuget/packages/gitversiontask/5.5.1/build/GitVersionTask.targets(10,9): warning : Falling back to master branch config [/home/travis/build/boogie-org/boogie/Source/BoogieDriver/BoogieDriver.csproj]
And packages with a strange version number (incremented minor version):
Successfully created package '/home/travis/build/boogie-org/boogie/Source/BoogieDriver/bin/Debug/Boogie.2.9.0-PullRequest0319.16.nupkg'.
But I guess the correct version will be computed after merging.
OK, there is actually a problem! I just tried to compile on my Ubuntu 20.10 machine, and it does not work. A lot of exceptions, apparently because of a library called LibGit2Sharp that is not supported on recent Ubuntu versions: It's really annoying that this GitVersion thing cannot just work. Two options:
|
See comment about LibGit2Sharp issues on Ubuntu
The
Is it important for anything but the build server to generate versioned packages? Can we not only enable GitVersion on the build server? |
Yes, it does. Turns out that even the current version 5.1.2 does. I kept the
Yeah, maybe this is the best move. Of course it would be nice to get the correct version number in binaries, but it is much more annoying that people constantly run into issues building Boogie. Once the day comes when GitVersion works reliably, we can re-enable it. If others agree, let's do the following: Also, I think it makes sense not to generate the package files on every building. |
Thanks, I don't often do "instruction driven programming" but I have to say it's very efficient :D |
66b9260
to
e16fb6b
Compare
Shall we merge this? |
@keyboardDrummer : I appreciate your contribution in this PR towards addressing a longstanding annoyance for Boogie users. |
Update GitVersionTask to latest version to resolve issue requiring MSBUILDSINGLELOADCONTEXT workaround