Since NuKeeper is deprecated, I dediced to write it very basic PowerShell script which does the same for our on-prem Bitbucket instance. It uses the .NET global tool dotnet-outdated
.
Some things that come to my mind about this script:
- Tested with PowerShell
7.2.5
and Bitbucket7.21
(on-prem) - Script has to be executed within an already cloned Git repository
- Git repository must use
http
orhttps
for the remote - There must be a user inside Bitbucket with write permissions. The user needs an HTTP Access Token to communicate with Bitbucket.
dotnet-outdated
seems to have some issues with the old CSPROJ format, so make sure to use it only with the newer SDK-style projects.