Skip to content

Fix CI: package with @vscode/vsce so vsmarketplacebadges.dev badges pass validation - #18

Merged
tatsy merged 2 commits into
mainfrom
dev
Sep 11, 2026
Merged

Fix CI: package with @vscode/vsce so vsmarketplacebadges.dev badges pass validation#18
tatsy merged 2 commits into
mainfrom
dev

Conversation

@tatsy

@tatsy tatsy commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

The "Create Release" workflow has failed since the README badges moved to vsmarketplacebadges.dev (#17):

##[error]SVGs are restricted in README.md; please use other file image formats, such as PNG: https://vsmarketplacebadges.dev/version-short/tatsy.vscode-3d-preview.svg

The workflow ran npm install -g vsce, which resolves to the deprecated vsce package. Its last release (2.15.0) only trusts the defunct vsmarketplacebadge.apphb.com host for SVG badges. @vscode/vsce 3.x trusts vsmarketplacebadges.dev.

Changes

  • Replace the vsce devDependency with @vscode/vsce 3.9.2 and refresh the lockfile.
  • Workflow: install with npm ci and run npx vsce package / npx vsce publish, so the pinned version from the lockfile is used instead of a global install.
  • Workflow: fix the release asset path, which referenced a non-existent tag_string step id (the step is tag_version), so the .vsix was never attached to GitHub Releases.

Verification

  • npx vsce package succeeds locally on this branch and produces vscode-3d-preview-0.2.5.vsix (43 files).
  • npm run compile and npm run lint pass.

Note

The v0.2.5 tag currently points at the failing merge commit, so its release run did not publish. After merging, either move the tag to the new main head or bump to 0.2.6 and tag again.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Kvyv4yLA7eMxRmEGDhHt4m


Generated by Claude Code

claude and others added 2 commits September 11, 2026 09:49
The release workflow installed the deprecated `vsce` package, whose last
version (2.15.0) only trusts the defunct vsmarketplacebadge.apphb.com
host for SVG badges. After the README moved to vsmarketplacebadges.dev,
`vsce package` failed with "SVGs are restricted in README.md".
@vscode/vsce 3.x trusts vsmarketplacebadges.dev, so use it from
devDependencies via npx in both the package and publish steps, and
install with `npm ci` so the lockfile is honoured.

Also fix the release asset path, which referenced a non-existent
`tag_string` step id instead of `tag_version`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kvyv4yLA7eMxRmEGDhHt4m
@tatsy
tatsy merged commit 703f935 into main Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants