Repository navigation
release: Go Support 1.0.0(原定 0.1.0,按不兼容变化升主版本号) - #9
Merged
Merged
Conversation
本版本要求的宿主能力(tcpAnnounced 调试适配器、commandInstallers、 以子命令开头的版本探针)是能装 0.0.1 的桌面端都没有的,旧桌面端会拒绝安装或更新。 按 release-lithe 的版本规则这属于不兼容变化,0.y.z 升到 1.0.0。 - plugin.json version 0.1.0 -> 1.0.0 - docs/releases/v0.1.0.md 改名为 v1.0.0.md,补升级说明(不兼容项、要做什么、设置无需迁移) - release.yml 的 PRERELEASE_TAGS 改为 v0.0.1 v1.0.0 - README 与 e2e/host/lithe-host.json 的版本示例改为 1.0.0;发布步骤补充“要求旧宿主没有的能力也算不兼容”
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.
背景
准备发布 #5–#8 合入后的 Go Support。这些 PR 里版本一直写的是 0.1.0,但这一版要求的宿主能力是能装 0.0.1 的桌面端都没有的:
debugAdapters的tcpAnnounced传输和target.directory绑定(feat(desktop): 托管 tcpAnnounced 调试适配器 1lck/Lithe-IDEA#1954,Core a58e07e)go version(feat(desktop): Core 固定到 6477e9a,工具定义的版本探针可以用子命令开头 1lck/Lithe-IDEA#1964,Core 6477e9a)commandInstallers(feat(desktop): 插件缺少的命令可在能力卡片上一键安装(API-23 commandInstallers) 1lck/Lithe-IDEA#1971,Core c550c2b)旧桌面端会拒绝安装或更新到这一版。按 release-lithe 的版本规则(“要求能运行上一版的宿主不支持的能力”算不兼容变化;1.0.0 以下同样适用,0.y.z 有不兼容的变化时升到 1.0.0),版本改为 1.0.0。0.1.0 从来没有发布过,所以没有版本被跳过或重用。
改动
io.github.lithe-idea.go-support/plugin.json:version从 0.1.0 改为 1.0.0,其他内容不变。docs/releases/v0.1.0.md改名为docs/releases/v1.0.0.md.github/workflows/release.yml:PRERELEASE_TAGS从v0.0.1 v0.1.0改为v0.0.1 v1.0.0,注释写明依赖 #1954、#1964、#1971,而这些改动目前还没有进任何已发布的桌面端(现有的desktop-AutoBuild构建于 #1971 合入之前),所以 v1.0.0 按预发布发。README.mdgo-support-1.0.0-darwin.zip。v1.0.0;第 3 步的预发布列表改为v0.0.1和依赖 #1954、#1964、#1971 的v1.0.0。e2e/host/lithe-host.json:requiredEnvironment里的示例包名改为 1.0.0。docs/feature-matrix.md里“插件 0.1.0 发布包”是当时实际验证用的包,保持原样,免得验证记录失实。验证
node scripts/package.mjs --expect-tag v1.0.0:通过,生成dist/go-support-1.0.0-darwin.zip,SHA-2560d41e0af2f8ed896e0117c5f0437b068de42fe9f309aeb92624b758ac8dca849。scripts/validate-index.mjs的readPackageManifests和checkManifest检查发布包(和 CI 同样的步骤):通过。actionlint .github/workflows/*.yml:通过。PINNED_CORE_REVISION是 c550c2b,a58e07e 和 6477e9a 都是它的祖先提交。plugin.json:没有删除任何带id的条目,设置的键和类型不变。合入后
在合入后的 main 上打
v1.0.0标签并推送,Release工作流会发布 Go Support v1.0.0 预发布(Lithe Store 自动追踪会跳过它)。