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/add integrate cmd #179

Closed jhnstn closed 10 months ago

jhnstn commented 10 months ago

Depends on #176

This adds release integrate command to create the integration PRs It accepts either --ios or --android flags to target only one platform. if neither is present both integration PRs are created.

derekblank commented 10 months ago

What would be the command format to run this one? Running something like the following results in invalid version error. 🤔

GBM_WPMOBILE_ORG=derekblank GBM_WORDPRESS_ORG=derekblank go run main.go release integrate gbm v1.0.0

derekblank commented 10 months ago

Does the SetUpstreamTo command look like it's formatted correctly? (I wrote it, so it's very possible that not correct.) I'm getting this error when running the prepare gbm command, although trunk on derekblank/gutenberg-mobile does exist:

Add remote for derekblank

Set upstream to trunk%!!(MISSING)(EXTRA string=derekblank)
fatal: branch 'trunk' does not exist

exit status 128

https://github.com/wordpress-mobile/release-toolkit-gutenberg-mobile/blob/32f8f4f1b19a9388b890299aff3ee43e6d9fdd11/cli/pkg/release/gbm.go#L52-L56