[codex] 增加 Android Daily Early 自动打包#74
Merged
Merged
Conversation
572ba8b to
58a5a61
Compare
This was referenced May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
关联 #72。
#72 里提出 Dev / Early / Stable 环境隔离与 Daily Early 分发流程。本 PR 先落地 Android Early 的最小闭环:让
main可以定时产出独立包名、固定签名、可覆盖安装的 Early APK,并通过 GitHub prerelease 分发。改动
globalEarly->com.memexlab.memex.earlycnEarly->com.memexlab.memex.cn.earlyglobal/cnflavor,不改变原有 stable 包名。MemexMemex EarlyMemex Early CNglobalEarly/cnEarly覆盖 Android launcher icon,在现有图标右下角增加橙色E角标,桌面上可直接区分 Early 版本。targetPackage改为按 flavor 注入,避免继续写死正式包名。AppFlavor增加 channel 识别,支持从globalEarly/cnEarly解析出 Early channel。Android Daily EarlyGitHub Actions workflow:workflow_dispatch手动触发。ANDROID_EARLY_*secrets 还原 Early 签名。globalEarly/cnEarlyrelease APK。1.0.29-early.20260514.b579d1d+1778744921。android-early-*prerelease,默认保留最近 14 个。配置说明
已在仓库配置 Android Early 签名 secrets:
ANDROID_EARLY_KEYSTORE_BASE64ANDROID_EARLY_KEY_ALIASANDROID_EARLY_KEY_PASSWORDANDROID_EARLY_STORE_PASSWORDEarly 签名和 Stable 签名分离,本 PR 不接触正式发布签名。
验证
flutter build apk --debug --flavor globalEarlyflutter build apk --debug --flavor cnEarlyflutter build apk --release --flavor globalEarlyflutter build apk --release --flavor cnEarlyflutter build apk --debug --flavor globalflutter build apk --debug --flavor globalEarly --build-name "1.0.29-early.20260514.58a5a61" --build-number "1778744921"dart analyze lib/config/app_flavor.dartgit diff --check后续
main后,手动触发一次Android Daily Earlyworkflow,确认 GitHub prerelease 产物可下载、可安装、可覆盖。