Skip to content
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

[MOB-2848] Add support for Mexican release notes #767

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

d4r1091
Copy link
Member

@d4r1091 d4r1091 commented Aug 30, 2024

MOB-2848

Context

We are doing some ASO (App Store Optimization) and that includes some language tests for release notes as well.
As part of this, we are adding the Mexican language to our release notes automation.

Approach

  • Transifex seem not to have the option to mirror another language so I ended up adding it and copying the translations from the Spanish one
  • Included the new folder in our Fastlane's metadata

Other

Took the occasion to fix the release notes Github Workflow (already tested till the "upload to App Store Connect" step)

The merge of both this PR and the Transifex one #766 will trigger the Job which will then fail (?) as there will be no chance to update the metadata for the given version. So will add the Don't Merge label to both.

@d4r1091 d4r1091 requested a review from a team August 30, 2024 08:27
Copy link

PR Reviewer Guide 🔍

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Key issues to review

Ruby Version Update
The Ruby version was updated from 2.7 to 3.3.0. Ensure that all dependencies are compatible with this new version to avoid potential runtime issues.

Copy link

github-actions bot commented Aug 30, 2024

PR Code Suggestions ✨

CategorySuggestion                                                                                                                                    Score
Possible issue
Verify compatibility of the new Ruby version with project dependencies

Ensure that the specified ruby-version is compatible with all the gems used in the
project. Ruby 3.3.0 might introduce breaking changes or deprecations that could
affect the existing codebase.

.github/workflows/upload_release_notes_to_appstore.yml [22]

-ruby-version: 3.3.0
+ruby-version: 3.3.0  # Ensure compatibility with project dependencies
 
Suggestion importance[1-10]: 8

Why: The suggestion is valid as upgrading to Ruby 3.3.0 could introduce breaking changes or deprecations affecting the project. Ensuring compatibility with all gems is crucial for maintaining the stability of the codebase.

8

@d4r1091
Copy link
Member Author

d4r1091 commented Aug 30, 2024

Await the new version drafted (likely 10.1.1) before merging this.

Copy link

@lucaschifino lucaschifino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🇲🇽 ✅

@lucaschifino
Copy link

Await the new version drafted (likely 10.1.1) before merging this.

I've already added 10.1.1 to App Store Connect as this will be drafted very soon once bug fixes are merged. I guess we could merge this already then as we'll likely still use the generic release notes 🙂

@d4r1091
Copy link
Member Author

d4r1091 commented Sep 3, 2024

If we merge this, the workflow to upload the release notes will be triggered as there are changes in the fastlane/metadata folder. The way the script works is to check the version from the Common.xcconfig and tell fastlane to push the release notes against that one. If the version hasn't been updated yet on the Common.xcconfig file, fastlane will try to update the released version.

@lucaschifino
Copy link

If the version hasn't been updated yet on the Common.xcconfig file, fastlane will try to update the released version.

You're 💯 right, did not realise that 👍

@d4r1091
Copy link
Member Author

d4r1091 commented Sep 5, 2024

Removing the don't merge label. It is mergeable now 👍

@d4r1091 d4r1091 merged commit bc6e844 into main Sep 5, 2024
3 checks passed
@d4r1091 d4r1091 deleted the MOB-2848_mexican_release_notes branch September 5, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants