Skip to content

Commit e5af890

Browse files
committed
fix: 🐛 publishing with version should check for the right version
1 parent 12586ed commit e5af890

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/package.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,10 @@ export async function pack(options: IPackageOptions = {}): Promise<IPackageResul
16261626
);
16271627
}
16281628

1629+
if (options.version) {
1630+
manifest.version = options.version;
1631+
}
1632+
16291633
const packagePath = await getPackagePath(cwd, manifest, options);
16301634
await writeVsix(files, path.resolve(packagePath));
16311635

0 commit comments

Comments
 (0)