ci+chore(Release): v0.0.1-rc.3 发布 + GitHub Release 自动附带可本地安装的 .vsix - #16
Merged
Merged
Conversation
新增独立 github-release job(softprops/action-gh-release):对 v* tag 复用 package job 产出的 vsix artifact 自动建 Release 并上传 .vsix;rc tag 自动 prerelease;与市场 publish 解耦(needs: package、不挂 production 环境),即便市场发布待审批/失败亦不阻塞 Release 资产产出;最小权限仅本 job 提权 contents: write;fail_on_unmatched_files 杜绝空资产。同步 docs/research/04-publishing-cicd.md 蓝图与 .agents/issue.md #7。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
version 0.0.2 → 0.0.3(rc.3 市场版本,未占用);CHANGELOG 落定 [0.0.1-rc.3] - 2026-06-29 第三个预发布候选(含 Batch 5-12 全量对齐 + CI 附带 .vsix 说明);README 手动安装指引明确 .vsix 文件名(hyper-git-0.0.3.vsix)。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
ThreeFish-AI
added a commit
that referenced
this pull request
Jul 20, 2026
- Stash / Shelf 由 collapsed 改为 visibility:hidden(hideByDefault,默认不显示、视图菜单可勾选恢复) - Commit / Worktrees 由 visible 改为 collapsed(显示但默认折叠) - Branches / Graph 保持 visible;容器内声明顺序重排为 Commit·Branches·Graph·Worktrees - 纯 package.json contributes.views 声明式改动,initialSize 不变,src/ 零改动、零破坏 - 新增 tests/unit/views-layout.test.ts 声明式护栏锁定顺序与各视图 visibility - CHANGELOG 记 Changed、issue.md 新增 #16 并给 #12 补指针、README 计数 372→375 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
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.
背景
用户要重新发布
v0.0.1-rc.3,核心诉求:GitHub Release 的 assets 必须携带一个可直接用于「Extensions: Install from VSIX」本地安装的.vsix。循证排查发现真正缺口:现有
.github/workflows/ci.yml会构建.vsix,但只把它当作 Actions artifact 上传 + 发往 Marketplace/OpenVSX,从未把.vsix附带到 GitHub Release(rc.1/rc.2 的 Release 页面均无.vsix,而 README 早已指引用户「从 Releases 下载.vsix」——指引与现实不符)。变更
ci:GitHub Release 自动附带.vsixgithub-releasejob(softprops/action-gh-release@v2):对每个v*tag 复用packagejob 产出的vsixartifact,自动创建 Release(*rc*tag 自动prerelease)并上传.vsix。needs: package(非needs: publish)、不挂environment: production→ 即便市场publish待审批/失败,带.vsix的 Release 仍照常产出。permissions: contents: read不动,仅本 job 提权contents: write;fail_on_unmatched_files: true杜绝「空资产 Release」。publish(Marketplace + OpenVSX)job 零改动,既有行为完全保留。chore(Release):rc.3 发布物料package.json版本0.0.2→0.0.3(rc.3 市场版本,未占用)。CHANGELOG.md落定[0.0.1-rc.3] - 2026-06-29(含 Batch 5-12 全量对齐 + CI 附带.vsix说明)。README.md手动安装指引明确文件名(hyper-git-0.0.3.vsix)。文档沉淀
docs/research/04-publishing-cicd.md:CI 蓝图补充github-releasejob(机制 + 解耦理由)。.agents/issue.md:新增#7「GitHub Release 缺少 .vsix 资产」(表因/根因/处理/防范)。验证(已自证)
ci.ymlYAML 解析通过;jobs 拓扑正确(github-release→needs: package、tag 门控、contents: write;publish不变)。pnpm install --frozen-lockfile+vsce package:产出hyper-git-0.0.3.vsix(48.41 KB,含dist/extension.js@0.0.3),check-types / lint / esbuild 全 GREEN。code --install-extension hyper-git-0.0.3.vsix:本地 VS Code 安装成功(端到端「Install from VSIX」可用性自证)。合并后发布流程
合并入
feature/1.x.x后,在合并点重建并推送v0.0.1-rc.3tag 触发 CI →github-releasejob 自动产出带.vsix的 GitHub 预发布。