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

this breaks builds that have a package with only versions that should be deleted #231

Open
sixcorners opened this issue Nov 29, 2024 · 0 comments

Comments

@sixcorners
Copy link

sixcorners commented Nov 29, 2024

You get this if it tries to delete the last version.

Error: delete version API failed. You cannot delete the last version of a package. You must delete the package instead. 

Think it would be a good idea to add an option that says what to do in this circumstance? I see three things that this could do:
fail the step like it does now
keep the latest version
delete the whole package
Might also be a good idea to warn people that this step might fail if it tries to delete the last version in a package.

Edit: the step also fails if the package is already deleted...

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

No branches or pull requests

1 participant