Hi,
I use to the Octo create-release command to create new releases.
This command returns a message when the release exist. My script ignores this error as it does not return an error status.
Is there a simple command I can use to find out whether release exist in a project before running the command?
Thanks for reaching out! What you whould be using is the --ignoreExisting command which will simply continue if the release already exists. You can run octo.exe help create-release to get a list of all the available parameters.
Yep that sort out my issue.
Out of curiosity how would you find an existing release within a project without pulling every single release from a project?