wordpress-mobile / release-toolkit-gutenberg-mobile

Automation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.
Mozilla Public License 2.0
5 stars 2 forks source link

Add command to prepare GBM release #152

Closed jhnstn closed 11 months ago

jhnstn commented 11 months ago

The command should

jhnstn commented 11 months ago

What should we do if this command is ran twice?

It should be reenterant so that if it fails it can be ran again with out causing unexpected behavior i.e. a failed run followed by a successful run should have the same result as a single successful run.

But what should we do if ran after a successful run? Should it attempt to update or fail? In the former case we could add an update flag or have a completely separate update command.

The only redundant work in an update scenario is the PR creation. We should account for this regardless of how we approach updating

derekblank commented 11 months ago