Repository navigation
chore(release): v0.1.2 - #5
Merged
Merged
Conversation
yaojin3616
force-pushed
the
chore/release-v0.1.2
branch
from
September 22, 2026 07:24
580105c to
d69c889
Compare
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.
目的
发布版本只由 Git tag 决定,避免同时手改
package.json、runtime 常量和workbench.json。本 PR 建立在 #6 的仓库身份方案之上:
WORKBENCH_VERSION,注册描述不再携带版本;Desktop 从市场目录展示版本。workbench.json继续保持删除,不再作为发布输入。v*tag 提取 SemVer,并在验证、打包阶段用它生成package.json与package-lock.json的包版本。package.json读取版本,并把 latest Release 固定为具体版本、URL 和摘要。合并后发布
v0.1.2只需要创建并推送 tag,不需要提交版本号修改:git checkout main && git pull git tag v0.1.2 git push origin v0.1.2验证
npm run checknpm run check:distributiongit diff --checkGITHUB_REF_NAME=v0.1.2模拟版本生成,只有package.json和package-lock.json发生预期变化,版本均为0.1.2合并顺序
先合并 #6;本 PR 的差异随后会只保留发布版本自动化相关修改。