Skip to content

Allow to unlist pre-release versions of a nuget package once a new version is released

License

Notifications You must be signed in to change notification settings

sillsdev/SIL.NuGetCleaner

Repository files navigation

SIL.NuGetCleaner

NuGet version (SIL.NuGetCleaner) Build, Test and Pack

Description

nugetclean allows to unlist pre-release versions of a nuget package once a new version is released.

Installation

nugetclean is available as a .NET Core Global Tool:

dotnet tool install --global SIL.NuGetCleaner

Usage

nugetclean --api-key=<nuget api key> [--dry-run] <packageid>

--api-key - the NuGet API key with the permission to unlist a package

--dry-run - only list the package version that would be unlisted, but don't do it

<packageid> is the NuGet package id.