chore: establish versioning and release standards - #314
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.
变更
v1预发布版本线、public API 边界和 SemVer 规则。CHANGELOG.md与完整发布、恢复和撤回流程。v*标签触发的 Release Workflow,校验版本、变更日志、工具链、CI、标签签名和 Zig package hash。AGENTS.md中增加版本管理与发布的渐进式入口。原因
仓库现有标签和 Release 属于旧 JavaScript 版本线,当前 Zig 主线尚无独立的版本语义和可验证发布链路。本变更将两条版本线分离,并建立
v1.0.0-alpha.1之前必须具备的发布门禁。影响
本 PR 不修改 Zig public API。
.github/workflows/release.yml合并后才会响应新的v*标签。仓库级 Immutable Releases、release-tag-creation和immutable-release-tagsrulesets 已启用;现有mainruleset 未修改。验证
actionlint 1.7.12shellcheck 0.11.0mise exec -- zig fmt --check build.zig build.zig.zon src/primitive.zig src/root.zig src/ziwei.zigmise exec -- zig buildmise exec -- zig build test范围
仅包含版本与发布规范的 6 个文件,不包含工作树中未跟踪的
src/models/。