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

CLI: update integrate #185

Closed jhnstn closed 10 months ago

jhnstn commented 10 months ago

This updates the integrate command to handle cases when the release branches or PR exist. In these cases it will update the existing work.

It also includes a flow to check if the Gutenberg build is ready for each platform by checking the GBM pr status checks. Note: since testing this flow is very difficult on a fork setup, the check is behind a "production" flag.

This PR also introduces a status command to check the status of a release gbm release status {version}

Testing: Run one of the integrations on a clean fork (i.e. one with out a release PR or related branches) Close the PR but keep the branches Run the command again and note that the PR is recreated

Note: IOS tests must be made against a recent release ( v1.106.0 for example ) otherwise rake dependencies will fail.

TODO : This will not recreate the "after" branches if the pr exists.