-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Tooling] finalize_release lane: Add back hotfix validation and remove unused lane parameter
#23674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -232,7 +232,7 @@ | |
| UI.user_error!('Aborted by user request') unless skip_user_confirmation || UI.confirm('Do you want to continue?') | ||
|
|
||
| generate_strings_file_for_glotpress | ||
| download_localized_strings_and_metadata(options) | ||
| download_localized_strings_and_metadata | ||
| lint_localizations(allow_retry: skip_user_confirmation == false) | ||
|
|
||
| bump_build_codes | ||
|
|
@@ -381,17 +381,19 @@ | |
| end | ||
| end | ||
|
|
||
| # Finalizes a release at the end of a sprint to submit to the App Store | ||
| # Finalizes a release at the end of a sprint to submit to the App Store, triggering the final release build on CI | ||
| # | ||
| # - Updates store metadata | ||
| # - Bumps final version number | ||
| # - Removes branch protection and close milestone | ||
| # - Triggers the final release on CI | ||
| # This lane performs the following actions: | ||
| # - Updates store metadata | ||
| # - Bumps final version number | ||
| # - Removes branch protection and closes milestone | ||
| # - Triggers the final release on CI | ||
| # | ||
| # @option [Boolean] skip_confirm (default: false) If true, avoids any interactive prompt | ||
| # @param skip_confirm [Boolean] Whether to skip confirmation prompts | ||
| # | ||
| desc 'Trigger the final release build on CI' | ||
| lane :finalize_release do |options, skip_confirm: false| | ||
| lane :finalize_release do |skip_confirm: false| | ||
| UI.user_error!('To finalize a hotfix, please use the `finalize_hotfix_release` lane instead') if release_is_hotfix? | ||
|
||
|
|
||
| ensure_git_branch_is_release_branch! | ||
| ensure_git_status_clean | ||
|
|
||
|
|
@@ -400,7 +402,7 @@ | |
|
|
||
| check_all_translations(interactive: skip_confirm == false) | ||
|
|
||
| download_localized_strings_and_metadata(options) | ||
| download_localized_strings_and_metadata | ||
| lint_localizations(allow_retry: skip_confirm == false) | ||
|
|
||
| bump_build_codes | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change caused a failure. I assume it was supposed to be
PUBLIC_VERSION_FILE, so I made that change here.cc @iangmaia
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, that is the case. Thanks for changing it!