Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to delete specific version #87

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

jcansdale
Copy link
Owner

@jcansdale jcansdale commented Aug 6, 2020

Add a simple filter to allow a specific version names to be deleted. This is a pale imitation of what we would like to do in #77!

I've manually tested it and it seems to work:

gpr delete jcansdale-test/maven-test/com.mycompany.app.my-app -k $GITHUB_TOKEN --version 0.111-SNAPSHOT --force

com.mycompany.app.my-app
  Deleting '0.111-SNAPSHOT'
Public package versions are not eligible for deletion. For more on our deletion policy, see https://docs.github.com/articles/about-github-package-registry/#deleting-a-package.

This is expected for public packages. ☝️

Fixes #86

@jcansdale jcansdale merged commit 89e2e42 into master Aug 6, 2020
@jcansdale jcansdale deleted the fixes/86-delete-specific-version branch August 6, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow user to delete specific version
1 participant