fix(vscode): include username in vsix filename, deduplicate path output

This commit is contained in:
kirillk
2026-03-13 12:26:36 -04:00
parent 2144bedfab
commit 79970cd9d3
+1 -5
View File
@@ -48,13 +48,11 @@ console.log("\n🏗️ Building extension...")
await $`node ${join(root, "esbuild.js")} --production`.cwd(root)
console.log("\n📦 Packaging VSIX...")
const vsixPath = join(outDir, `kilo-vscode-snapshot-${sha}.vsix`)
const vsixPath = join(outDir, `kilo-vscode-snapshot-${sha}-${user}.vsix`)
await $`bunx vsce package ${snapshotVersion} --no-update-package-json --no-dependencies --skip-license -o ${vsixPath}`.cwd(
root,
)
console.log(`\n✅ VSIX created: ${vsixPath}`)
if (shouldInstall) {
const execPath = process.env.VSCODE_EXEC_PATH ?? ""
const cli = execPath.toLowerCase().includes("insiders") ? "code-insiders" : "code"
@@ -63,6 +61,4 @@ if (shouldInstall) {
console.log(`\n✨ Successfully installed snapshot extension!`)
console.log(` Version: ${snapshotVersion}`)
} else {
console.log(`\n📍 VSIX path: ${vsixPath}`)
}