You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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 aPATH
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:
Also, is there any reason the more common
--
long style options aren't available?Otherwise great tool @tcnksm 👍
The text was updated successfully, but these errors were encountered: