-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Investigate/document how to always get latest version of nuget package #1021
Comments
Brainstorm: One approach could be to add a Build step in TeamCity that does it. I hypothesize that you could use the NuGet Installer step, and use some clever set of parameters to get it to update a certain set of dependencies to the latest. Inspired by: https://stackoverflow.com/a/15039174/311238 |
According to this article, "floating" version numbers are supported: |
Maybe we could write a new SIL BuildTask that would be able to go through the PackageReference elements for libpalaso packages and turn hard version numbers into floating version references. Then a .proj file could just have a special target to execute that build task before performing the regular build. A CI build for the active development branch could specify that build target. |
I wonder if nuget has something like that built in, or if there is a tool that does that. Because if you update the packages in VS or Rider it'll update the version numbers. |
A different direction would be to use https://github.com/marketplace/actions/nukeeper-action, with the "repo" option, to automatically generate PRs when libpalaso is upgraded. |
That would mimic what we do currently, anyway. So if * works, that gives us what we want. Our current process: |
Looks like SIL.FwBuildTasks uses WhiteSource Renovate to do this same thing. |
Some projects might want to always build with the latest version of a nuget package. This needs to be researched and documented.
Paket
IMO doing it directly with nuget would be the preferred way because of the integration in the IDEs and tools, which makes it easier to use and less maintenance with new versions.
The text was updated successfully, but these errors were encountered: