Command line tool for updating nuget packages across a solution/folder which can be scripted as part of an automated build.
| Branch | Status |
|---|---|
| main | |
| release |
See CHANGELOG.md for release notes.
dotnet tool install Credfeto.Package.UpdateTo update to latest released version
dotnet tool update Credfeto.Package.Updatedotnet new tool-manifest
dotnet tool install Credfeto.Package.Update --localTo update to latest released version
dotnet tool update Credfeto.Package.Update --localNote the tool returns a non-zero exit code if any packages are updated.
Also provides in the output the packages that were updated in the format below so that scripts can read the output and take action.
::set-env name=PackageId::Version
e.g:
::set-env name=Credfeto.Extensions.Configuration.Typed::1.2.3.4
::set-env name=Credfeto.Extensions.Caching::3.4.5.6
dotnet updatepackages --folder D:\Source --package-id Credfeto.Extensions.Configuration.Typeddotnet updatepackages --folder D:\Source --package-id Credfeto.Extensions:prefixdotnet updatepackages --folder D:\Source --package-id Credfeto.Extensions:prefix --exclude Credfeto.Extensions.Configuration.Json Credfeto.Extensions.Configuration.Typeddotnet updatepackages --folder D:\Source --package-id Credfeto.Extensions:prefix --source https://nuget.example.org/api/v3/index.json