| OLD | NEW |
| 1 Repository for building the [googleapis] and [googleapis_beta] packages. | 1 Repository for building the [googleapis] and [googleapis_beta] packages. |
| 2 | 2 |
| 3 **Workflow:** | 3 **Workflow:** |
| 4 | 4 |
| 5 - Update `pubspec.yaml` with new commit hash from the generator. | 5 - Update `pubspec.yaml` with new commit hash from the generator. |
| 6 | 6 |
| 7 - Run `pub upgrade` in this directory: | 7 - Run `pub upgrade` in this directory: |
| 8 | 8 |
| 9 $ rm -rf .pub | 9 $ rm -rf .pub |
| 10 $ pub upgrade | 10 $ pub upgrade |
| 11 | 11 |
| 12 - Download & generate APIs using the `config.yaml` configuration: | 12 - Download & generate APIs using the `config.yaml` configuration: |
| 13 | 13 |
| 14 $ pub run discovery_api_client_generator:generate run_config | 14 $ pub run discovery_api_client_generator:generate run_config |
| 15 | 15 |
| 16 - Diff with previous APIs and determine whether to do minor or major version | 16 - Diff with previous APIs and determine whether to do minor or major version |
| 17 update. | 17 update. Update CHANGELOG.md files in resources/. |
| 18 | 18 |
| 19 - Update `config.yaml` with new version and generate again. | 19 - Update `config.yaml` with new version and generate again. |
| 20 | 20 |
| 21 - Run tests. | 21 - Run tests. |
| 22 | 22 |
| 23 - Commit downloaded discovery documents and generated packages. | 23 - Commit downloaded discovery documents and generated packages. |
| 24 | 24 |
| 25 - Upload packages to pub. | 25 - Upload packages to pub. |
| 26 | 26 |
| 27 [googleapis]: https://pub.dartlang.org/packages/googleapis | 27 [googleapis]: https://pub.dartlang.org/packages/googleapis |
| 28 [googleapis_beta]: https://pub.dartlang.org/packages/googleapis_beta | 28 [googleapis_beta]: https://pub.dartlang.org/packages/googleapis_beta |
| OLD | NEW |