Skip to content

Conversation

@iangmaia
Copy link
Contributor

What does it do?

This PR improves the existing method Ios::VersionHelper::read_from_config_file(), making it more reliable and robust by using the gem xcodeproj, as well as adding better error handling. Some additional tests cases were also implemented.

This need came up as I was testing the code and noticed that possible format variations for the .xcconfig file were not being treated properly and there was no error handling.

Related PRs

Checklist before requesting a review

  • Run bundle exec rubocop to test for code style violations and recommendations
  • Add Unit Tests (aka specs/*_spec.rb) if applicable
  • Run bundle exec rspec to run the whole test suite and ensure all your tests pass
  • Make sure you added an entry in the CHANGELOG.md file to describe your changes under the approprioate existing ### subsection of the existing ## Trunk section.

Copy link
Contributor

@AliSoftware AliSoftware left a comment

Choose a reason for hiding this comment

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

Already reviewed as part of iangmaia#1

Please add a CHANGELOG entry (under the Internal Changes section) first though

@iangmaia
Copy link
Contributor Author

Already reviewed as part of iangmaia#1

Please add a CHANGELOG entry (under the Internal Changes section) first though

Done.

@AliSoftware AliSoftware merged commit 0d9fd92 into wordpress-mobile:iangmaia/trial Feb 11, 2023
@iangmaia iangmaia deleted the add/new-tests-for-ios_get_app_version branch February 11, 2023 16:54
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