Skip to content

Commit 3bdb610

Browse files
chore: justfile update
1 parent 98a3b90 commit 3bdb610

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

justfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,20 @@ install:
7676
package-install:
7777
{{VSCODE}} --install-extension ./justlang-lsp-{{EXT_VER}}.vsix
7878

79+
# Publish the packaged extension to VS Code Marketplace
80+
publish:
81+
#!/bin/bash
82+
# First ensure we have the latest package
83+
just package-check
84+
VSIX_FILE="./justlang-lsp-{{EXT_VER}}.vsix"
85+
echo "🚀 Publishing $VSIX_FILE to VS Code Marketplace..."
86+
pnpm exec vsce publish --packagePath "$VSIX_FILE"
87+
echo "✅ Published version {{EXT_VER}} successfully!"
88+
89+
# Package and publish in one step
90+
release:
91+
@echo "🔨 Building and packaging extension..."
92+
just package
93+
@echo "🚀 Publishing to marketplace..."
94+
just publish
95+

0 commit comments

Comments
 (0)