Creation of draft release should be possible without tag name #24690
-
I would like to create a draft release without pushing a new tag to the repository. GitHub UI currently allows creation of draft releases without specifying tag name. Is it possible to make the same behavior available via REST API? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I know for sure that GitHub CLI is complaining about it
In API documentation tag_name is also marked as Required: https://docs.github.com/en/rest/reference/repos#create-a-release @LordBigSky In fact I did not check it myself yet, but I will, thanks for response. |
Beta Was this translation helpful? Give feedback.
-
@LordBigSky Unfortunately, REST API also does not allow creation of draft release without tag_name:
However, when creating a draft release the git tag is not being created, so it is completely safe to provide tag name. I believe this was what you meant. |
Beta Was this translation helpful? Give feedback.
@LordBigSky Unfortunately, REST API also does not allow creation of draft release without tag_name:
However, when creating a draft release the git tag is not being created, so it is completely safe to provide tag name. I believe this was what you meant.