add ability to mark Gitea/GitHub release as draft #676
Labels
enhancement
New feature or request
good first issue
Good for newcomers
priority:high
Really important. We should do this.
Motivations
This feature is useful if you want to update other artifacts to the release later and you want to publish the release after the update was successful. Also if you want to review the release and publish it manually afterwards.
Solution
The config field already exists:
release-plz/crates/release_plz/src/config.rs
Line 314 in 88894d4
but it's not used. Use it here:
release-plz/crates/release_plz_core/src/git/backend.rs
Line 181 in 88894d4
The GitHub api call is documented here. As you can see you need to add a
draft
field in the body. This change should also work for Gitea. 👍The text was updated successfully, but these errors were encountered: