Skip to content

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

@sixcorners

Description

@sixcorners

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions