|
232 | 232 | UI.user_error!('Aborted by user request') unless skip_user_confirmation || UI.confirm('Do you want to continue?') |
233 | 233 |
|
234 | 234 | generate_strings_file_for_glotpress |
235 | | - download_localized_strings_and_metadata(options) |
| 235 | + download_localized_strings_and_metadata |
236 | 236 | lint_localizations(allow_retry: skip_user_confirmation == false) |
237 | 237 |
|
238 | 238 | bump_build_codes |
|
381 | 381 | end |
382 | 382 | end |
383 | 383 |
|
384 | | - # Finalizes a release at the end of a sprint to submit to the App Store |
| 384 | + # Finalizes a release at the end of a sprint to submit to the App Store, triggering the final release build on CI |
385 | 385 | # |
386 | | - # - Updates store metadata |
387 | | - # - Bumps final version number |
388 | | - # - Removes branch protection and close milestone |
389 | | - # - Triggers the final release on CI |
| 386 | + # This lane performs the following actions: |
| 387 | + # - Updates store metadata |
| 388 | + # - Bumps final version number |
| 389 | + # - Removes branch protection and closes milestone |
| 390 | + # - Triggers the final release on CI |
390 | 391 | # |
391 | | - # @option [Boolean] skip_confirm (default: false) If true, avoids any interactive prompt |
| 392 | + # @param skip_confirm [Boolean] Whether to skip confirmation prompts |
392 | 393 | # |
393 | | - desc 'Trigger the final release build on CI' |
394 | | - lane :finalize_release do |options, skip_confirm: false| |
| 394 | + lane :finalize_release do |skip_confirm: false| |
| 395 | + UI.user_error!('To finalize a hotfix, please use the `finalize_hotfix_release` lane instead') if release_is_hotfix? |
| 396 | + |
395 | 397 | ensure_git_branch_is_release_branch! |
396 | 398 | ensure_git_status_clean |
397 | 399 |
|
|
400 | 402 |
|
401 | 403 | check_all_translations(interactive: skip_confirm == false) |
402 | 404 |
|
403 | | - download_localized_strings_and_metadata(options) |
| 405 | + download_localized_strings_and_metadata |
404 | 406 | lint_localizations(allow_retry: skip_confirm == false) |
405 | 407 |
|
406 | 408 | bump_build_codes |
|
0 commit comments