Skip to content

Commit

Permalink
fix: 🐛 publishing with version should check for the right version
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Dec 17, 2021
1 parent 12586ed commit e5af890
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,10 @@ export async function pack(options: IPackageOptions = {}): Promise<IPackageResul
);
}

if (options.version) {
manifest.version = options.version;
}

const packagePath = await getPackagePath(cwd, manifest, options);
await writeVsix(files, path.resolve(packagePath));

Expand Down

0 comments on commit e5af890

Please sign in to comment.