Skip to content

Actually -delete release? #105

Description

@danielbayley

Following on from #31… as far as I can tell there is actually no way to completely delete a release…?

You closed that PR as mentioned because of not wanting to confuse users, but the options as they stand are much more confusing…

Surely -delete should actually delete the release instead of apparently being an alias of -recreate (which isn't listed as a separate option) and therefore also not require a PATH argument…
Also -draft (Unpublish) doesn't unpublish anything; it just creates a new draft release (which maybe it should… but why use the term "unpublish"? -unpublish could be an alias for -delete or actually do what it suggests).

IMO the expected API should be something like:

-delete [TAG] # Delete [TAG] release if given, else delete latest release. PATH arg unnecessary.
-unpublish # Alias of -delete
-draft # Release as draft
-title # Set release title
-d|-description # Set text describing the contents of the release

Also, is there any reason the more common -- long style options aren't available?

Otherwise great tool @tcnksm 👍

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions