github icon indicating copy to clipboard operation
github copied to clipboard

feat: add 'draftRelease' option

Open BetaHuhn opened this issue 3 years ago • 7 comments

Summary

This PR adds a new draftRelease option which, when set to true, will create a GitHub draft release instead of publishing an actual GitHub Release. The option defaults to false and will thus not impact current users.

Fixes #275

BetaHuhn avatar Jun 06 '21 19:06 BetaHuhn

Any plans to merge/review this?

Friendly ping, @gr2m

BetaHuhn avatar Jun 14 '21 13:06 BetaHuhn

Yes, as soon as we find the time to review it, I cannot tell when that will be right now, sorry

gr2m avatar Jun 14 '21 14:06 gr2m

No problem!

BetaHuhn avatar Jun 14 '21 15:06 BetaHuhn

Maybe until there's time to review it it could be published on a draft release channel? 😄

Some of us could give feedback, add fixes if needed, etc.

alex-dixon avatar Aug 06 '21 14:08 alex-dixon

This would be useful for us too. Happy to help if that's possible.

jimCresswell avatar Sep 07 '21 15:09 jimCresswell

This would also be useful to us. We'd like to use semantic-release as a means of releasing our Electron application, and because we need to wait for multiple parallel workflows to complete before we can mark it as released, we currently have a bit of a rube goldberg machine set up to handle use cases like multiple release channels. It would be a lot better if we could use semantic-release instead of combining multiple other tools together to get basically the same result.

I'd also be happy to help test and review code if that's needed. This is pretty much exactly like the implementation I have locally.

tubbo avatar Oct 04 '21 19:10 tubbo

I am also interested in this option. I have a case where I have several assets that need to be built on different operating systems. I can't have them available at release time and associate them with @semantic-releas/github. A draft option would allow me to proceed in several steps.

MrSquaare avatar Sep 02 '22 19:09 MrSquaare

Thank you all for your patience, for sharing your use cases and for your offers to help. I know it has been a long time coming. I finally got around to review it and it all looks good. I'll merge and release it shortly

gr2m avatar May 28 '23 17:05 gr2m

:tada: This PR is included in version 8.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar May 28 '23 17:05 github-actions[bot]

:tada: This PR is included in version 9.0.0-beta.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar May 29 '23 23:05 github-actions[bot]