Skip to content

Commit e3b0d57

Browse files
committed
script moves packaged .vsix to root
1 parent 897087c commit e3b0d57

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "aws-toolkit-vscode",
33
"displayName": "AWS Toolkit - Amazon Q, CodeWhisperer, and more",
44
"description": "Including Amazon Q, CodeWhisperer, CodeCatalyst, Application Composer, and support for Lambda, S3, CloudWatch Logs, CloudFormation, and many other services",
5-
"version": "2.9.0-SNAPSHOT",
5+
"version": "2.9.0-897087c",
66
"extensionKind": [
77
"workspace"
88
],

packages/toolkit/scripts/build/package.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ function main() {
146146
child_process.execSync(`vsce package`, { stdio: 'inherit' })
147147
const packageJson = JSON.parse(fs.readFileSync(packageJsonFile, { encoding: 'utf-8' }))
148148
console.log(`VSIX Version: ${packageJson.version}`)
149+
150+
const vsixName = `aws-toolkit-vscode-${packageJson.version}.vsix`
151+
fs.moveSync(vsixName, `../../${vsixName}`)
149152
} catch (e) {
150153
console.log(e)
151154
throw Error('package.ts: failed')

0 commit comments

Comments
 (0)