修复:按应用版本生成预发布标签#50
Merged
Merged
Conversation
Owner
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Refs #49
原行为
main后固定移动pre-main标签。TODOList Main Preview,标签无法体现APP_VERSION。新行为
main构建从todo_app/constants.py解析APP_VERSION。pre与版本号直接组合:当前1.7.13对应pre1.7.13;未来1.7.14对应pre1.7.14。main_preview.release_tag输出,避免命名分叉。prerelease: true、make_latest: false。main新鲜度守卫,旧任务不能回退当前版本的预发布。anchor.md已同步。三种触发方式
mainpre<APP_VERSION>Pre-releasepre<APP_VERSION>workflow_dispatchv*标签边界
pre-main。v*正式标签仍由发布者显式推送且保持不可变。pre<APP_VERSION>是版本化预发布标签;版本号不变时可随新main提交更新。pre*push 触发,避免标签更新递归触发构建。pre-main标签和 Release 暂不删除,需另行明确授权。验证
main/v*:通过。APP_VERSION解析、pre前缀映射和输出复用断言:通过。main新鲜度守卫断言:通过。v*Release 条件保持不变:通过。retention-days: 7:通过。pre-main:通过。anchor.md,共 24 行变动。mainrun 将验证pre1.7.13和 Release Asset。