GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — vscode: fix script · thorstone137/opencode@593e89b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • publish-vscode.yml
  • sdks/vscode/script
    • publish
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/publish-vscode.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish-vscode.yml
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
- run: git fetch --force --tags
2525
- run: bun install -g @vscode/vsce
2626

27+
- name: Install extension dependencies
28+
run: bun install
29+
working-directory: ./sdks/vscode
30+
2731
- name: Publish
2832
run: |
2933
./script/publish
Collapse file

‎sdks/vscode/script/publish‎

Copy file name to clipboard
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
set -euo pipefail
23

34
# Get the latest Git tag
45
latest_tag=$(git tag --sort=committerdate | grep -E '^vscode-v[0-9]+\.[0-9]+\.[0-9]+$' | tail -1)
@@ -7,14 +8,14 @@ if [ -z "$latest_tag" ]; then
78
exit 1
89
fi
910
echo "Latest tag: $latest_tag"
10-
version=$(echo $latest_tag | sed 's/^vscode-v//')
11+
version=$(echo "$latest_tag" | sed 's/^vscode-v//')
1112
echo "Latest version: $version"
1213

1314
# package-marketplace
14-
vsce package --no-git-tag-version --no-update-package-json --no-dependencies --skip-license -o dist/opencode.vsix $version
15+
vsce package --no-git-tag-version --no-update-package-json --no-dependencies --skip-license -o dist/opencode.vsix "$version"
1516

1617
# publish-marketplace
1718
vsce publish --packagePath dist/opencode.vsix
1819

1920
# publish-openvsx
20-
npx ovsx publish dist/opencode.vsix -p $OPENVSX_TOKEN
21+
npx ovsx publish dist/opencode.vsix -p "$OPENVSX_TOKEN"

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.