Automagically update NuGet packages in all .NET projects.
This fork includes additional features and fixes that have not been integrated in the main repository of NuKeeper at the time of writing. This fork is only intended to temporarily bridge this gap. As soon as NuKeeper provides the same benefits, this fork can be deleted.
Additional features:
-
Support
--reviewer
for Azure Devops Services/Azure Devops Server/TFS for all commands that create pull requests -
Support
--maxopenpullrequests
for AzureDevops/TFS for all commands that create pull requests -
Support custom templates for commit messages, pull request title, and pull request body. The templates can be specified in mustache, we use the Stubble engine.
-
Support
--targetBranch
for Azure Devops while using the repository command and providing a remote url -
SupportNow included in nukeeper.--targetBranch
for TFS while using the repository command and providing a remote url -
Fixed issue withNow included in nukeeper.--change minor
or--change patch
resulting in incorrect major or minor updates when multiple versions installed in different projects already differ in minor or major versions.
Additional fixes:
-
Ensure
NuGet
applies the lowest available versions for the dependencies of a package instead of the highest. It seems that NuGet doesn't care about target framework, so theHighest
strategy has a high likelihood of failing if you haven't migrated to the latest major versioThis is a short term fix, in the long term NuKeeper should take into account the target framework of packages, or if this is a bug in NuGet, it will hopefully be fixed.
-
Ensure NuKeeper retries creating a PR in a next run if it failed.
You can install the nukeeper dotnet tool of current build using the InstallNuKeeperDotNetTool
(.bat for Windows, .sh for macOS and Linux) found in the root of the repository.
Note: this overrides your existing global installation of the NuKeeper dotnet tool.
You can build and package the tool using the following commands. The instructions assume that you are in the root of the repository.
dotnet pack .\NuKeeper\NuKeeper.csproj -o ".\artifacts"
dotnet tool install nukeeper --global --add-source ".\artifacts"
nukeeper --version
Note: On macOS and Linux,
.\NuKeeper\NuKeeper.csproj
and.\artifacts
will need be switched to./NuKeeper/NuKeeper.csproj
and./artifacts
to accommodate for the different slash directions.
NuKeeper is licensed under the Apache License
- Git automation by LibGit2Sharp licensed under MIT
- Github client by Octokit licensed under MIT
- NuGet protocol NuGet.Protocol licensed under Apache License Version 2.0
- NuGet CommandLine NuGet commandLine licensed under Apache License Version 2.0
- Command line parsing by McMaster.Extensions.CommandLineUtils licensed under Apache License Version 2.0