File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 103
103
end
104
104
105
105
desc 'Download the latest app translations from GlotPress and update the strings.xml files accordingly'
106
- lane :download_translations do
106
+ lane :download_translations do | run_lint : true |
107
107
# android_update_release_notes requires a relative path
108
108
res_folder_relative_path = RES_FOLDER . delete_prefix ( PROJECT_ROOT_FOLDER )
109
109
110
110
android_download_translations (
111
111
res_dir : res_folder_relative_path ,
112
112
glotpress_url : GLOTPRESS_APP_STRINGS_PROJECT_URL ,
113
113
locales : SUPPORTED_LOCALES ,
114
- lint_task : 'lintRelease'
114
+ lint_task : run_lint ? 'lintRelease' : nil
115
115
)
116
116
end
117
117
end
Original file line number Diff line number Diff line change 137
137
# Print computed version and build to let user double-check outcome in logs
138
138
UI . success ( "Done! New beta version: #{ release_version_current } . New build code: #{ build_code_current } " )
139
139
140
- download_translations
140
+ download_translations (
141
+ # skip lint in CI as a workaround to the task running in an agent that fails to download the Gradle version this project needs.
142
+ # The long term fix is to upgrade Gradle here.
143
+ run_lint : is_ci == false
144
+ )
141
145
download_metadata_strings
142
146
143
147
UI . important ( 'Pushing changes to remote and triggering the beta build...' )
163
167
configure_apply ( force : is_ci )
164
168
165
169
check_translation_progress_all unless is_ci
166
- download_translations
170
+ download_translations (
171
+ # skip lint in CI as a workaround to the task running in an agent that fails to download the Gradle version this project needs.
172
+ # The long term fix is to upgrade Gradle here.
173
+ run_lint : is_ci == false
174
+ )
167
175
168
176
UI . message 'Bumping final release version and build code...'
169
177
VERSION_FILE . write_version (
You can’t perform that action at this time.
0 commit comments