-
Notifications
You must be signed in to change notification settings - Fork 670
Update bin/release
to create releases in draft state
#880
Comments
Adding a But there's a problem... We also publish a I suppose we could add a third stage (on top of 'build' and 'publish'): 'promote', which would publish the |
We could make the |
@squaremo you left the comment in the |
OK I'm playing around with a modified version of the release script that has three steps:
TL;DR: support freeform version tags and all the latest_release update machinery has been moved into a third step. latest_release tag should now be updated between publish and promote, and only for mainline releases. Thoughts @squaremo @dpw? This should mean you can build/publish a non-mainline release, or build/publish/promote a mainline release with an opportunity to review between publish and promote... |
If we did this, we could make promote refuse to work with --pre-release releases to prevent accidental promotion |
New proposal:
The second step creates the GitHub release in draft state, optionally marked as pre release; the final step removes the draft state (making the release visible to the outside world) and updates latest in {Git,Docker}Hub only if the pre release attribute is missing. Thoughts? |
From
bin/release
:github-release/github-release#7 has been addressed, so we can update our release script accordingly.
The text was updated successfully, but these errors were encountered: