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

refactor(android): Move build-publish.sh to builder script #12351

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

darcywong00
Copy link
Contributor

In preparation for #12325

This refactors the build-publish.sh script that publishes the Keyman and FirstVoices apk's to the Play Store into the corresponding builder scripts.

I noticed the top level android build.sh script already declares a publish action

"publish Publishes the APKs to the Play Store." \

But it must be a NOOP.

Will need to update CI configs and 🍒 pick to stable-17.0

@keymanapp-test-bot skip

@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Sep 3, 2024

@darcywong00
Copy link
Contributor Author

Will need to update CI configs and 🍒 pick to stable-17.0

Hmm, stable-17.0 doesn't have the refactored builder scripts from #11329
I'm more inclined to keep the TC 17.0 publish step intact - though both branches have .build-builder file...

Copy link
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

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

LGTM, just simplified the changes to remove unnecessary variables -- if the variable never changes, then it's questionable whether it should be a variable (and consts don't buy us anything here either)

android/KMAPro/build.sh Outdated Show resolved Hide resolved
android/KMAPro/build.sh Outdated Show resolved Hide resolved
android/KMAPro/build.sh Outdated Show resolved Hide resolved
android/KMAPro/build.sh Outdated Show resolved Hide resolved
oem/firstvoices/android/build.sh Outdated Show resolved Hide resolved
oem/firstvoices/android/build.sh Outdated Show resolved Hide resolved
@darcywong00 darcywong00 merged commit 83b442b into master Sep 10, 2024
5 checks passed
@darcywong00 darcywong00 deleted the fix/android/builder-publish branch September 10, 2024 07:19
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 18.0.108-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants