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

Fix update_upstream_sdks CI job #862

Merged
merged 2 commits into from
May 20, 2022

Conversation

ncreated
Copy link
Member

@ncreated ncreated commented May 20, 2022

What and why?

⚙️🧰 This PR fixes the update_upstream_sdks tool to properly upgrade iOS SDK dependency in Flutter SDK.

Now it works: DataDog/dd-sdk-flutter#127.

How?

The problem was bad handling of the datadog_flutter_plugin.podspec modification. The script was not truncating the file before performing write operation, so after write the last line was still remaining:

Screenshot 2022-05-20 at 11 51 12

🎁 As a bonus I fixed the problem of no author being reported for automated commits.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes

Custom CI job configuration (optional)

  • Run unit tests
  • Run integration tests
  • Run smoke tests

@ncreated ncreated self-assigned this May 20, 2022
@ncreated ncreated marked this pull request as ready for review May 20, 2022 10:19
@ncreated ncreated requested a review from a team as a code owner May 20, 2022 10:19
@ncreated ncreated merged commit a63954b into develop May 20, 2022
@ncreated ncreated deleted the ncreated/fix-update-upstream-sdks-job branch May 20, 2022 14:19
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