{"id":20187535,"url":"https://github.com/wordpress-mobile/release-toolkit-gutenberg-mobile","last_synced_at":"2025-04-10T06:43:55.911Z","repository":{"id":38081972,"uuid":"305927611","full_name":"wordpress-mobile/release-toolkit-gutenberg-mobile","owner":"wordpress-mobile","description":"Automation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.","archived":false,"fork":false,"pushed_at":"2024-04-11T09:27:55.000Z","size":31657,"stargazers_count":4,"open_issues_count":33,"forks_count":2,"subscribers_count":23,"default_branch":"trunk","last_synced_at":"2024-04-13T23:27:48.167Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wordpress-mobile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-10-21T06:21:58.000Z","updated_at":"2024-04-25T15:54:40.310Z","dependencies_parsed_at":"2023-11-01T08:25:46.918Z","dependency_job_id":"22b2507e-3776-481d-a473-80a4413925d0","html_url":"https://github.com/wordpress-mobile/release-toolkit-gutenberg-mobile","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Frelease-toolkit-gutenberg-mobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Frelease-toolkit-gutenberg-mobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Frelease-toolkit-gutenberg-mobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Frelease-toolkit-gutenberg-mobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wordpress-mobile","download_url":"https://codeload.github.com/wordpress-mobile/release-toolkit-gutenberg-mobile/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173598,"owners_count":21059595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T03:24:31.458Z","updated_at":"2025-04-10T06:43:55.885Z","avatar_url":"https://github.com/wordpress-mobile.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# release-toolkit-gutenberg-mobile\nAutomation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.\n\n## GBM-CLI\n\nThe preferred automation flow now uses the `gbm-cli` tool. See the tool [README](./gbm-cli/README.md) for more information. Follow the [Installing](./gbm-cli/README.md#installing) section to get started.\n\n### Prerequisites\n\n- PHP, which can be installed with `brew install php`.\n- A version of Ruby that matches [`.ruby-version`](https://github.com/WordPress/gutenberg/blob/trunk/packages/react-native-editor/ios/.ruby-version).\n  - A utility like [`rbenv`](https://github.com/rbenv/rbenv) can be used to manage Ruby versions.\n- [GitHub authentication](./gbm-cli/README.md#authentication).\n\n#### NVM\n\n`nvm` is the recommended node manager for running the `gbm-cli` release commands.\n\nWhen preparing Gutenberg for a release it is possible to set the global node version to the current version required by Gutenberg.\n\nAt the moment this is not possible when preparing a Gutenberg Mobile PR locally since there are multiple node versions during the preparation.\n\n## Legacy Automation Script\n\n### Prerequisites\n\nTo be able to run the legacy automation script make sure you have installed:\n\n- [Github CLI](https://github.com/cli/cli)\n```sh\nbrew install gh\n```\n- [jq](https://github.com/stedolan/jq)\n```sh\nbrew install jq\n```\n\n### Usage\n\nRun the script: `./release_automation.sh`\n\n### Testing\n\nYou can test the scripts on forked repos. Please follow the instructions on top of the [release_automation.sh](./release_automation.sh) file.\n\n### Troubleshooting\n\nOccasionally, 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:\n\n```\ncd ./gutenberg\nnpm i\n```\n\nIt can also be useful to run `cd ./gutenberg \u0026\u0026 npm run distclean`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Frelease-toolkit-gutenberg-mobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress-mobile%2Frelease-toolkit-gutenberg-mobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Frelease-toolkit-gutenberg-mobile/lists"}