Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi There.
Thanks for this incredibly useful action! But I believe I found a flaw: I was unable to get the
--release
switch to work.After checking the commander documentation and after experimenting in practice, it seems that the
--release
and--silent
options are effectively ignored, due to the signature of the commander action handler being incorrect. I have removed the firstcmd
parameter, which I think should only be there if there was an actual argument expected. With no argument, the first parameter in the action handler should beoptions
. This fixes the observed issue of not being able to create non-draft releases.I have had a look at your tests and I can't see any that would fail due to
--release
or--silent
not being handled, so I think this may have been an issue for a while.Hope this helps.