🐛 fix(vscode): 发布按钮状态检查不再跑全量文件比对

This commit is contained in:
cruldra committed 2026-09-01 20:04:55 +08:00
1 parent 0214ca1ab5
commit b5b2bda353
4 files changed
+15 -8

No files matched your search

-2
View File
@@ -168,8 +168,6 @@ describe('集成', () => {
git(fx.repo, ['fetch', 'origin'])
const list = await listUnreleasedCommits({ cwd: fx.repo, devBranch: 'main', current: 'release/2026-08-31' })
expect(list.map(c => c.subject)).toEqual(['feat: other'])
const s = await getReleaseStatus({ cwd: fx.repo, devBranch: 'main', prefix: 'release/' })
expect(s.unreleased).toBe(1)
})
it('标题相同但改的文件不同,仍算未发布', async () => {
fx = await setup()