Skip to content

Automation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.

License

Notifications You must be signed in to change notification settings

wordpress-mobile/release-toolkit-gutenberg-mobile

Repository files navigation

release-toolkit-gutenberg-mobile

Automation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.

GBM-CLI

The preferred automation flow now uses the gbm-cli tool. See the tool README for more information. Follow the Installing section to get started.

Prerequisites

NVM

nvm is the recommended node manager for running the gbm-cli release commands.

When preparing Gutenberg for a release it is possible to set the global node version to the current version required by Gutenberg.

At the moment this is not possible when preparing a Gutenberg Mobile PR locally since there are multiple node versions during the preparation.

Legacy Automation Script

Prerequisites

To be able to run the legacy automation script make sure you have installed:

brew install gh
brew install jq

Usage

Run the script: ./release_automation.sh

Testing

You can test the scripts on forked repos. Please follow the instructions on top of the release_automation.sh file.

Troubleshooting

Occasionally, the script may encounter an error while running. Because the project makes use of a node_modules directory within the Gutenberg submodule, it may be useful in some cases to manually install npm dependencies there. By default, running npm install (or npm i) from within the gutenberg-mobile directory will trigger npm ci to run within the gutenberg directory, but sometimes it may also be helpful to try:

cd ./gutenberg
npm i

It can also be useful to run cd ./gutenberg && npm run distclean

About

Automation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published