jcansdale / gpr

A .NET Core tool for working with the GitHub Package Registry
93 stars 13 forks source link

Allow user to delete specific version #86

Closed jcansdale closed 4 years ago

jcansdale commented 4 years ago

This might look like:

gpr delete jcansdale-test/maven-test/com.mycompany.app.my-app/0.111-SNAPSHOT

For symmetry with, gpr push <PACKAGE> --version <VERSION>

gpr delete jcansdale-test/maven-test/com.mycompany.app.my-app --version 0.111-SNAPSHOT
jcansdale commented 4 years ago

I've now added this option. You can use it in a workflow like this: https://github.com/jcansdale-test/maven-test/blob/delete-snapshot/.github/workflows/maven.yml#L24