mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
fix(vscode): include username in vsix filename, deduplicate path output
This commit is contained in:
@@ -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}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user