Skip to content

Commit 3174961

Browse files
committed
fix: Release version check bug
--bug=1
1 parent 76e0a33 commit 3174961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/pack-version-check.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function main() {
5353
let tgzPath;
5454

5555
try {
56-
log(`Packing @fission-ai/openspec@${expected}...`);
56+
log(`Packing ${pkg.name}@${expected}...`);
5757
const filename = npmPack();
5858
tgzPath = path.resolve(filename);
5959
log(`Created: ${tgzPath}`);
@@ -80,7 +80,7 @@ function main() {
8080
run('npm', ['install', tgzPath, '--silent', '--no-audit', '--no-fund'], { cwd: work, env });
8181

8282
// Run the installed CLI via Node to avoid bin resolution/platform issues
83-
const binRel = path.join('node_modules', '@fission-ai', 'openspec', 'bin', 'openspec.js');
83+
const binRel = path.join('node_modules', '@studyzy', 'openspec-cn', 'bin', 'openspec.js');
8484
const actual = run(process.execPath, [binRel, '--version'], { cwd: work }).trim();
8585

8686
if (actual !== expected) {

0 commit comments

Comments
 (0)