loic-sharma / BaGet

A lightweight NuGet and symbol server
https://loic-sharma.github.io/BaGet/
MIT License
2.61k stars 669 forks source link

Added support for package repackaging #768

Open eallegretta opened 1 year ago

eallegretta commented 1 year ago

The following PR adds support on the UI and the API for package repacking, this means that starting from a version you can republish it as another version, this is useful for scenarios where you have a prerelease package and you want to turn it into a release package

The following is the url for repackaging

api/v2/package/{id}/{version}/repackage/{newVersion}