Skip to content

Commit 44f3ca4

Browse files
committed
Remove ios_update_metadata Action and ios_git_helper's update_metadata(), to remove all occurrences of the deprecated Scripts/update-translations.rb script
1 parent 8f130fd commit 44f3ca4

2 files changed

Lines changed: 0 additions & 54 deletions

File tree

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_update_metadata.rb

Lines changed: 0 additions & 40 deletions
This file was deleted.

lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_git_helper.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@ def self.localize_project
4444
Fastlane::Helper::GitHelper.commit(message: 'Update strings for localization', files: strings_files, push: true) || UI.message('No new strings, skipping commit')
4545
end
4646

47-
# Call the `Scripts/update-translations.rb` script from the host project folder
48-
#
49-
# @env PROJECT_ROOT_FOLDER The path to the git root of the project
50-
# @env PROJECT_NAME The name of the directory containing the project code (especially containing the `build.gradle` file)
51-
#
52-
# @todo Migrate the scripts, currently in each host repo and called by this method, to be helpers and actions
53-
# in the release-toolkit instead, and move this code away from `ios_git_helper`.
54-
#
55-
def self.update_metadata
56-
Action.sh("cd #{get_project_root()} && ./Scripts/update-translations.rb")
57-
58-
Fastlane::Helper::GitHelper.commit(message: 'Update translations', files: strings_files, push: false)
59-
end
60-
6147
def self.strings_files
6248
project_root = get_project_root()
6349
project_name = get_project_name()

0 commit comments

Comments
 (0)