fastlane-plugin-wpmreleasetoolkit 12.4.0 → 12.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_localize_libs_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_update_metadata_source_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/an_validate_lib_strings_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_build_preflight.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_create_avd_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_create_xml_release_notes.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_current_branch_is_hotfix.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_download_file_by_version.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_download_translations_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_firebase_test.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_launch_emulator_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_send_app_size_metrics.rb +7 -5
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_update_release_notes.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_annotate_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_metadata_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_pipeline_upload_action.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_trigger_build_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/check_for_toolkit_updates_action.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/check_translation_progress.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/circleci_trigger_job_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/close_milestone_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/comment_on_pr.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/copy_branch_protection_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/create_github_release_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/create_new_milestone_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/create_release_backmerge_pull_request_action.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/extract_release_notes_for_version_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/find_previous_tag.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/firebase_login.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/get_prs_between_tags.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/gp_downloadmetadata_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/gp_update_metadata_source.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/openai_ask_action.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/promo_screenshots_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/prototype_build_details_comment_action.rb +4 -2
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/publish_github_release_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/remove_branch_protection_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/set_branch_protection_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/set_milestone_frozen_marker_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/update_assigned_milestone_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/upload_to_s3.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_add_files_to_copy_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_download_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_setup_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_update_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_validate_action.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_development_certificates_to_provisioning_profiles.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/add_devices_to_provisioning_profiles.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_build_preflight.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_check_beta_deps.rb +5 -3
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_download_strings_files_from_glotpress.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_extract_keys_from_strings_files.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_generate_strings_file_from_code.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_get_store_app_sizes.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_lint_localizations.rb +14 -3
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_merge_strings_files.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_send_app_size_metrics.rb +5 -3
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_update_metadata_source.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_update_release_notes.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_emulator_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_localize_helper.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_tools_path_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/android/android_version_helper.rb +6 -4
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/app_size_metrics_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/ci_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/encryption_helper.rb +5 -7
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/filesystem_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/git_helper.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/github_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/glotpress_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/interactive_prompt_reminder.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_adc_app_sizes_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_l10n_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_l10n_linter_helper.rb +12 -8
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_strings_file_validation_helper.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata/metadata_block.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata/release_note_metadata_block.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata/release_note_short_metadata_block.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata/standard_metadata_block.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata/unknown_metadata_block.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata/whats_new_metadata_block.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/promo_screenshots_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/release_notes_helper.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/helper/user_agent.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/app_version.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/build_code.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/file_reference.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/firebase_account.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/firebase_device.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/firebase_test_lab_result.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/models/firebase_test_runner.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/version.rb +1 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/abstract_version_calculator.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/date_build_code_calculator.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/date_version_calculator.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/marketing_version_calculator.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/semantic_version_calculator.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/calculators/simple_build_code_calculator.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/files/android_version_file.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/files/ios_version_file.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/formatters/abstract_version_formatter.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/formatters/derived_build_code_formatter.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/formatters/four_part_build_code_formatter.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/formatters/four_part_version_formatter.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/formatters/rc_notation_version_formatter.rb +3 -1
- data/lib/fastlane/plugin/wpmreleasetoolkit/versioning/formatters/simple_build_code_formatter.rb +2 -0
- data/lib/fastlane/plugin/wpmreleasetoolkit.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54ad163793f5102f88dd8a4a82408cd73bd5bb5d084354f4ea8d21f90cb994b5
|
4
|
+
data.tar.gz: 7d627bd253b7b2c9be0b990108caffb1a0b1a9056466afa98628fe4e27b79c2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 545ce35d03805a5deb7c30ed22e01f55106d0a8420a89a355f2ff8047ddddef2b433294da5a86d6a5c1ca460c0d3f1c08215396b637faa50d9aca7be5823c2f2
|
7
|
+
data.tar.gz: fc4d77d82c952c610f73c823d4b8548a83627ceac6ba79101e8a235e3851e16fefbc4bdd7f1c87cc0f89ee68194b95c4570bb798923006aa1121de66b57ca6ab
|
@@ -1,14 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require_relative '../../helper/app_size_metrics_helper'
|
2
4
|
|
3
5
|
module Fastlane
|
4
6
|
module Actions
|
5
7
|
class AndroidSendAppSizeMetricsAction < Action
|
6
8
|
# Keys used by the metrics payload
|
7
|
-
AAB_FILE_SIZE_KEY = 'AAB File Size'
|
8
|
-
UNIVERSAL_APK_FILE_SIZE_KEY = 'Universal APK File Size'
|
9
|
-
UNIVERSAL_APK_SPLIT_NAME = 'Universal'
|
10
|
-
APK_OPTIMIZED_FILE_SIZE_KEY = 'Optimized APK File Size'
|
11
|
-
APK_OPTIMIZED_DOWNLOAD_SIZE_KEY = 'Download Size'
|
9
|
+
AAB_FILE_SIZE_KEY = 'AAB File Size' # value from `File.size` of the `.aab`
|
10
|
+
UNIVERSAL_APK_FILE_SIZE_KEY = 'Universal APK File Size' # value from `File.size` of the Universal `.apk`
|
11
|
+
UNIVERSAL_APK_SPLIT_NAME = 'Universal' # pseudo-name of the split representing the Universal `.apk`
|
12
|
+
APK_OPTIMIZED_FILE_SIZE_KEY = 'Optimized APK File Size' # value from `apkanalyzer apk file-size`
|
13
|
+
APK_OPTIMIZED_DOWNLOAD_SIZE_KEY = 'Download Size' # value from `apkanalyzer apk download-size`
|
12
14
|
|
13
15
|
def self.run(params)
|
14
16
|
# Check input parameters
|
data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_pipeline_upload_action.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Fastlane
|
2
4
|
module Actions
|
3
5
|
class BuildkitePipelineUploadAction < Action
|
4
|
-
DEFAULT_BUILDKITE_PIPELINE_FOLDER = '.buildkite'
|
6
|
+
DEFAULT_BUILDKITE_PIPELINE_FOLDER = '.buildkite'
|
5
7
|
DEFAULT_ENV_FILE = File.join(DEFAULT_BUILDKITE_PIPELINE_FOLDER, 'shared-pipeline-vars').freeze
|
6
8
|
|
7
9
|
def self.run(params)
|
data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/check_for_toolkit_updates_action.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'fastlane/action'
|
2
4
|
require 'rubygems/command_manager'
|
3
5
|
|
4
6
|
module Fastlane
|
5
7
|
module Actions
|
6
8
|
class CheckForToolkitUpdatesAction < Action
|
7
|
-
TOOLKIT_SPEC_NAME = 'fastlane-plugin-wpmreleasetoolkit'
|
9
|
+
TOOLKIT_SPEC_NAME = 'fastlane-plugin-wpmreleasetoolkit'
|
8
10
|
|
9
11
|
def self.run(params)
|
10
12
|
updater = Gem::CommandManager.instance[:update]
|
@@ -1,10 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'fastlane/action'
|
2
4
|
require_relative '../../helper/github_helper'
|
3
5
|
|
4
6
|
module Fastlane
|
5
7
|
module Actions
|
6
8
|
class CreateReleaseBackmergePullRequestAction < Action
|
7
|
-
DEFAULT_BRANCH = 'trunk'
|
9
|
+
DEFAULT_BRANCH = 'trunk'
|
8
10
|
|
9
11
|
def self.run(params)
|
10
12
|
token = params[:github_token]
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'fastlane/action'
|
2
4
|
require 'net/http'
|
3
5
|
require 'json'
|
@@ -8,7 +10,7 @@ module Fastlane
|
|
8
10
|
OPENAI_API_ENDPOINT = URI('https://api.openai.com/v1/chat/completions').freeze
|
9
11
|
|
10
12
|
PREDEFINED_PROMPTS = {
|
11
|
-
release_notes: <<~PROMPT
|
13
|
+
release_notes: <<~PROMPT
|
12
14
|
Act like a mobile app marketer who wants to prepare release notes for Google Play and App Store.
|
13
15
|
Do not write it point by point and keep it under 350 characters. It should be a unique paragraph.
|
14
16
|
|
data/lib/fastlane/plugin/wpmreleasetoolkit/actions/common/prototype_build_details_comment_action.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Fastlane
|
2
4
|
module Actions
|
3
5
|
class PrototypeBuildDetailsCommentAction < Action
|
@@ -36,13 +38,13 @@ module Fastlane
|
|
36
38
|
# @!group Helpers
|
37
39
|
#####################################################
|
38
40
|
|
39
|
-
NO_INSTALL_URL_ERROR_MESSAGE = <<~NO_URL_ERROR
|
41
|
+
NO_INSTALL_URL_ERROR_MESSAGE = <<~NO_URL_ERROR
|
40
42
|
No URL provided to download or install the app.
|
41
43
|
- Either use this action right after using `appcenter_upload` and provide an `app_center_org_name` (so that this action can use the link to the App Center build)
|
42
44
|
- Or provide an explicit value for the `download_url` parameter
|
43
45
|
NO_URL_ERROR
|
44
46
|
|
45
|
-
DEFAULT_APP_CENTER_FOOTNOTE = '<em>Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.</em>'
|
47
|
+
DEFAULT_APP_CENTER_FOOTNOTE = '<em>Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.</em>'
|
46
48
|
|
47
49
|
# A small model struct to consolidate and pack all the values related to App Center
|
48
50
|
#
|
@@ -1,10 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'yaml'
|
2
4
|
|
3
5
|
module Fastlane
|
4
6
|
module Actions
|
5
7
|
class IosCheckBetaDepsAction < Action
|
6
|
-
ALL_PODS_STABLE_MESSAGE = 'All pods are pointing to a stable version. You can continue with the code freeze.'
|
7
|
-
NON_STABLE_PODS_MESSAGE = "Please create a new stable version of those pods and update the Podfile to the newly released version before continuing with the code freeze:\n"
|
8
|
+
ALL_PODS_STABLE_MESSAGE = 'All pods are pointing to a stable version. You can continue with the code freeze.'
|
9
|
+
NON_STABLE_PODS_MESSAGE = "Please create a new stable version of those pods and update the Podfile to the newly released version before continuing with the code freeze:\n"
|
8
10
|
|
9
11
|
def self.run(params)
|
10
12
|
yaml = YAML.load_file(params[:lockfile])
|
@@ -31,7 +33,7 @@ module Fastlane
|
|
31
33
|
end
|
32
34
|
end
|
33
35
|
|
34
|
-
message =
|
36
|
+
message = String.new
|
35
37
|
if non_stable_pods.empty?
|
36
38
|
message << ALL_PODS_STABLE_MESSAGE
|
37
39
|
else
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Fastlane
|
2
4
|
module Actions
|
3
5
|
class IosLintLocalizationsAction < Action
|
@@ -35,7 +37,8 @@ module Fastlane
|
|
35
37
|
helper.run(
|
36
38
|
input_dir: resolve_path(params[:input_dir]),
|
37
39
|
base_lang: params[:base_lang],
|
38
|
-
only_langs: params[:only_langs]
|
40
|
+
only_langs: params[:only_langs],
|
41
|
+
fail_on_strings_not_in_base_language: params[:fail_on_strings_not_in_base_language]
|
39
42
|
)
|
40
43
|
end
|
41
44
|
|
@@ -68,7 +71,7 @@ module Fastlane
|
|
68
71
|
duplicate_keys
|
69
72
|
end
|
70
73
|
|
71
|
-
RETRY_MESSAGE = <<~MSG
|
74
|
+
RETRY_MESSAGE = <<~MSG
|
72
75
|
Inconsistencies found during Localization linting.
|
73
76
|
You need to fix them before continuing. From this point on, you should either:
|
74
77
|
|
@@ -91,7 +94,7 @@ module Fastlane
|
|
91
94
|
Did you fix the `.strings` files locally and want to lint them again?
|
92
95
|
MSG
|
93
96
|
|
94
|
-
ABORT_MESSAGE = <<~MSG
|
97
|
+
ABORT_MESSAGE = <<~MSG
|
95
98
|
Inconsistencies found during Localization linting. Aborting.
|
96
99
|
MSG
|
97
100
|
|
@@ -181,6 +184,14 @@ module Fastlane
|
|
181
184
|
default_value: true,
|
182
185
|
type: Boolean
|
183
186
|
),
|
187
|
+
FastlaneCore::ConfigItem.new(
|
188
|
+
key: :fail_on_strings_not_in_base_language,
|
189
|
+
env_name: 'FL_IOS_LINT_TRANSLATIONS_FAIL_ON_STRINGS_NOT_IN_BASE_LANGUAGE',
|
190
|
+
description: 'Should we report violations when finding strings in translations that are not present in the base language',
|
191
|
+
optional: true,
|
192
|
+
default_value: true,
|
193
|
+
type: Boolean
|
194
|
+
),
|
184
195
|
]
|
185
196
|
end
|
186
197
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'plist'
|
2
4
|
require_relative '../../helper/app_size_metrics_helper'
|
3
5
|
|
@@ -5,9 +7,9 @@ module Fastlane
|
|
5
7
|
module Actions
|
6
8
|
class IosSendAppSizeMetricsAction < Action
|
7
9
|
# Keys used by the metrics payload
|
8
|
-
IPA_FILE_SIZE_KEY = 'File Size'
|
9
|
-
IPA_DOWNLOAD_SIZE_KEY = 'Download Size'
|
10
|
-
IPA_INSTALL_SIZE_KEY = 'Install Size'
|
10
|
+
IPA_FILE_SIZE_KEY = 'File Size' # value from `File.size` of the Universal `.ipa`
|
11
|
+
IPA_DOWNLOAD_SIZE_KEY = 'Download Size' # value from `app-thinning.plist`
|
12
|
+
IPA_INSTALL_SIZE_KEY = 'Install Size' # value from `app-thinning.plist`
|
11
13
|
|
12
14
|
def self.run(params)
|
13
15
|
# Check input parameters
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'fastlane_core/ui/ui'
|
2
4
|
require 'fileutils'
|
3
5
|
require 'nokogiri'
|
@@ -9,7 +11,7 @@ module Fastlane
|
|
9
11
|
module Helper
|
10
12
|
module Android
|
11
13
|
module LocalizeHelper
|
12
|
-
LIB_SOURCE_XML_ATTR = 'a8c-src-lib'
|
14
|
+
LIB_SOURCE_XML_ATTR = 'a8c-src-lib'
|
13
15
|
|
14
16
|
# Checks if `string_node` has the `content_override` flag set
|
15
17
|
def self.skip_string_by_tag?(string_node)
|