-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Labels
Functionality:ListPackagedotnet.exe list packagedotnet.exe list packageProduct:dotnet.exeResolution:DuplicateThis issue appears to be a Duplicate of another issueThis issue appears to be a Duplicate of another issueType:DCRDesign Change RequestDesign Change Request
Description
NuGet Product(s) Affected
dotnet.exe
Current Behavior
We'd like to check for outdated packages as part of our PR pipeline.
We would like to use dotnet list package --outdated
, however there is no way to tell (without parsing the output), if there are any outdated packages.
Would it be possible to opt into returning a non-zero exit code if there are outdated packages, so we can then fail our pipeline / report on it?
Desired Behavior
Have an additional argument to dotnet list package --outdated
to have it return a non-zero exit code if there are outdated packages (e.g., then number of outdated packages)
Additional Context
Original issue dotnet/sdk#25091
We're currently using dotnet-outdated/dotnet-outdated, however sometimes it is a hit or miss, because it fails to load the .sln.
omajid, thefringeninja and lduchosal
Metadata
Metadata
Assignees
Labels
Functionality:ListPackagedotnet.exe list packagedotnet.exe list packageProduct:dotnet.exeResolution:DuplicateThis issue appears to be a Duplicate of another issueThis issue appears to be a Duplicate of another issueType:DCRDesign Change RequestDesign Change Request