Skip to content

Commit 2154278

Browse files
akoclaude
andcommitted
fix: make release rebuild vscode-ext so embedded vsix is fresh
release now depends on vscode-ext (after clean) so the .vsix is always rebuilt before being embedded into release binaries. Reverted clean from deleting source .vsix files since that was the wrong fix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ddcff5a commit 2154278

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ build-debug: sync-all completions
113113
@echo "Built $(BUILD_DIR)/$(BINARY_NAME)-debug (debug build with bson tools)"
114114

115115
# Build for all platforms (CGO_ENABLED=0 for cross-compilation)
116-
release: clean sync-all
116+
release: clean vscode-ext sync-all
117117
@mkdir -p $(BUILD_DIR)
118118
@echo "Building release binaries..."
119119

@@ -181,7 +181,6 @@ grammar:
181181
# Clean build artifacts
182182
clean:
183183
rm -rf $(BUILD_DIR)
184-
rm -f vscode-mdl/vscode-mdl-*.vsix
185184
go clean
186185

187186
# Build VS Code extension (.vsix) with build-time version info

0 commit comments

Comments
 (0)