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

Actually -delete release? #105

Open
danielbayley opened this issue Oct 20, 2018 · 0 comments
Open

Actually -delete release? #105

danielbayley opened this issue Oct 20, 2018 · 0 comments

Comments

@danielbayley
Copy link

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 👍

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