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

hotfix: yarn scripts version also updates strings targeted by android build action #2171

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

jfmcquade
Copy link
Collaborator

@jfmcquade jfmcquade commented Dec 15, 2023

PR Checklist

  • PR title descriptive (can be used in release notes)

Description

As suggested in this comment, adds an ugly workaround whereby running yarn scripts version updates the version values targeted for replacement by .github/workflows/reusable-android-build.yml to match the new values populated to ./android/app/build.gradle.

As mentioned, this is a temporary workaround pending directly addressing #2136.

Testing

With this PR branch checked out, run yarn scripts version with a sensible value, and ensure that the changes to all 3 files look correct

Git Issues

Closes #

Copy link
Member

@chrismclarke chrismclarke left a comment

Choose a reason for hiding this comment

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

Think I'm somewhat out on the loop on this, didn't even realise we had this set of reusable actions/workflows for content repos (can see added over course of various prs without review and also a few commits direct to master which I'd strongly discourage against as a practice)

Given now we're updating scripts to fix what is already a temporary workaround I'd probably suggest better to just make a more-permanent fix to allow authors control over the capacitor config and android build process

Copy link
Collaborator

@esmeetewinkel esmeetewinkel left a comment

Choose a reason for hiding this comment

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

Functional test passed. Merging this as this makes my life strictly easier while awaiting improvements suggested in #2136

@esmeetewinkel esmeetewinkel merged commit 5e37117 into master Jan 30, 2024
8 checks passed
@esmeetewinkel esmeetewinkel deleted the hotfix/yarn-scripts-version branch January 30, 2024 11:39
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.

3 participants