feat(android): Bundle GITHUB_SHA into Android client#6405
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
thomaseizinger
left a comment
There was a problem hiding this comment.
git-describe is made for this but it is output is much nicer if you have a tag it can use.
| multiDexEnabled = true | ||
| testInstrumentationRunner = "dev.firezone.android.core.HiltTestRunner" | ||
|
|
||
| val gitSha = System.getenv("GITHUB_SHA") ?: "unknown" |
There was a problem hiding this comment.
What about builds that don't happen on CI? Where are the builds made that get submitted to the play store for review?
There was a problem hiding this comment.
It'll be unknown. Playstore builds always happen via the Kotlin workflow in CI.
Yeah I think I would be open to tagging these if there was automation, otherwise we'll inevitable run into cases where the tag doesn't match the published release. It seems like it could be possible using the Publishing API and some automation: https://developers.google.com/android-publisher/api-ref/rest |
I found this: https://github.com/marketplace/actions/upload-android-release-to-play-store It is also referenced in a couple of blog posts on automating Android releases. How about this:
|
How does this solve the review rejection possibility though? It happens often enough that we should account for it. We need it to happen the other way around. When the app is approved, publish its release and attach the APK. |
It doesn't directly. Could we just treat such version numbers as burnt and make a tag after? We can still merge the changelogs and stuff into the new one. |
b9be8cd to
3aac4fd
Compare
Hmm let's move discussion to #3321 |
Closes #6400