[codex] 补充 Android Early 版本号和保留策略#75
Merged
utopiafar merged 2 commits intoMay 14, 2026
Merged
Conversation
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;这是 #74 合并后的一个小补充。
#74 已经把 Android Daily Early 打包和 prerelease 发布跑起来了。这个 PR 进一步补齐三个运维细节:Early 包内部版本号要能看出日期,旧的 Early prerelease 不能无限堆积,发布说明要能直接看出相对上个 Early 和上个正式 release 的差异。
改动
--build-name,格式为pubspec基础版本-early.YYYYMMDD.shortsha,例如1.0.29-early.20260514.da70e9d。--build-number,使用 epoch seconds,保证同一天多次构建也递增。android-early-*prerelease。android-early-*prerelease 和 tag,默认只保留最近 14 个 Early prerelease。验证
ruby -e 'require "yaml"; YAML.load_file(".github/workflows/android-daily-early.yml"); puts "workflow yaml ok"'git diff --check upstream/main...HEADruby ... | bash -n验证Prepare release notes脚本语法Prepare release notes脚本片段,确认会生成:Changes since previous Early prerelease,对比android-early-20260514-0a7f950Changes since latest Release,对比v1.0.29flutter build apk --debug --flavor globalEarly --build-name "1.0.29-early.20260514.da70e9d" --build-number "1778745425"