|
1 | 1 | # Migration Instructions for Major Releases
|
2 | 2 |
|
3 |
| -### From `7.0.0` to `8.0.0` |
| 3 | +## From `8.0.0` to `9.0.0` |
| 4 | + |
| 5 | +- The deprecated actions `ios_localize_project` and `ios_update_metadata` were now completely removed. If your project is still using them, please use the new tooling instead. |
| 6 | + - See `ios_generate_strings_file_from_code`, `ios_extract_keys_from_strings_files`, `ios_download_strings_files_from_glotpress` and `ios_merge_strings_files` for typical replacements. |
| 7 | +- The action `ios_get_app_version` now requires a parameter `public_version_xcconfig_file` with the public `.xcconfig` file path instead of relying on the environment variable `PUBLIC_CONFIG_FILE`. While the complete removal of this environment variable is our goal, at this point it is still required by other actions such as `ios_bump_version_release` and `ios_codefreeze_prechecks`. |
| 8 | +- The usage of a `Deliverfile` (including its `app_version`) is discouraged -- please use `upload_to_app_store` directly from your `Fastfile` instead. Therefore, the parameter `skip_deliver` from the actions `ios_bump_version_hotfix` and `ios_bump_version_release` has been removed. |
| 9 | + |
| 10 | +### Clean-ups |
| 11 | + |
| 12 | +- You can now delete the `ENV['APP_STORE_STRINGS_FILE_NAME']` from your Fastfile, as it isn't being used anymore. |
| 13 | + |
| 14 | +## From `7.0.0` to `8.0.0` |
4 | 15 |
|
5 | 16 | We are no longer pushing to remote after creating a new commit or a branch. That means, developers need to manually push the changes or add push commands in the project's `Fastfile`. Most importantly, we can no longer immediately trigger beta/final builds after creating a new commit because the changes will not be in remote yet. If you want to keep the existing behavior, you'll need to add a push command before these triggers.
|
6 | 17 |
|
7 | 18 | For example, in [WordPress-Android's `new_beta_release` lane](https://github.com/wordpress-mobile/WordPress-Android/blob/0c64cb84c256e004473e97d72b4ac6682ebc140b/fastlane/lanes/release.rb#L86), we download translations, bump the beta version and then trigger a new build in CI. After migrating to `8.0.0` of `release-toolkit`, we'll need to add [`push_to_git_remote`](https://docs.fastlane.tools/actions/push_to_git_remote/) command before this trigger to keep the existing behavior.
|
| 19 | + |
| 20 | +## From `6.0.0` to `7.0.0` |
| 21 | + |
| 22 | +Ensure that calls to `ios_bump_version_release` already passed `skip_glotpress: true`. |
| 23 | +In case of passing false as parameter or not providing a value (false being the default for this ConfigItem), you'll have to ensure that: |
| 24 | +- `download_metadata.swift` isn't being used; if it is, it's a good time to migrate to the new tooling |
| 25 | +- You're not relying on `ios_bump_version_release` for commiting the `.po/.pot` file |
0 commit comments