Skip to content

Commit 64d7287

Browse files
committed
👻 drop kai from vsix (#12)
Signed-off-by: David Zager <david.j.zager@gmail.com>
1 parent d590e50 commit 64d7287

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

.github/workflows/sync-migtools-main.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Sync with konveyor
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
branch:
7-
description: "Branch to sync to"
8-
required: true
9-
default: "main"
105
# Manual triggering only
116

127
jobs:
@@ -37,15 +32,15 @@ jobs:
3732
- name: Add konveyor remote
3833
run: |
3934
git remote add konveyor https://github.com/konveyor/editor-extensions.git
40-
git fetch konveyor ${{ inputs.branch }}
35+
git fetch konveyor ${{ github.ref_name }}
4136
4237
- name: Attempt rebase onto konveyor
4338
run: |
4439
echo "Current branch: $(git branch --show-current)"
45-
echo "Attempting to rebase onto konveyor/${{ inputs.branch }}..."
40+
echo "Attempting to rebase onto konveyor/${{ github.ref_name }}..."
4641
4742
# This will fail hard if there are conflicts
48-
git rebase konveyor/${{ inputs.branch }}
43+
git rebase konveyor/${{ github.ref_name }}
4944
5045
echo "Rebase successful!"
5146

scripts/prebuild.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const PLATFORM_MAPPING = {
3636

3737
// Binary names for each platform
3838
const PLATFORM_BINARY_NAMES = {
39-
"linux-x64": "linux-mta-analyzer-rpc",
40-
"linux-arm64": "linux-mta-analyzer-rpc",
39+
"linux-x64": "mta-analyzer-rpc",
40+
"linux-arm64": "mta-analyzer-rpc",
4141
"darwin-x64": "darwin-mta-analyzer-rpc",
4242
"darwin-arm64": "darwin-mta-analyzer-rpc",
4343
"win32-x64": "windows-mta-analyzer-rpc.exe",
@@ -186,13 +186,8 @@ Object.assign(packageJson, {
186186
});
187187

188188
// Remove kai binary assets from package (they'll be downloaded at runtime)
189-
// Keep them for CI/test builds to avoid timing issues
190-
if (packageJson.includedAssetPaths?.kai && !process.env.CI && !process.env.KEEP_KAI_BINARIES) {
191-
delete packageJson.includedAssetPaths.kai;
192-
console.log("✅ Removed kai binary assets from package (runtime download enabled)");
193-
} else if (packageJson.includedAssetPaths?.kai) {
194-
console.log("✅ Keeping kai binary assets for CI/test build");
195-
}
189+
delete packageJson.includedAssetPaths.kai;
190+
console.log("✅ Removed kai binary assets from package (runtime download enabled)");
196191

197192
// Transform configuration properties
198193
if (packageJson.contributes?.configuration?.properties) {

0 commit comments

Comments
 (0)