Skip to content

fix: stamp VS Code extension version for snapshot publishes#34

Merged
ryanbas21 merged 1 commit into
mainfrom
fix/vscode-snapshot-version
May 12, 2026
Merged

fix: stamp VS Code extension version for snapshot publishes#34
ryanbas21 merged 1 commit into
mainfrom
fix/vscode-snapshot-version

Conversation

@ryanbas21
Copy link
Copy Markdown
Owner

Summary

  • vsce publish rejects when the version already exists on the marketplace
  • Adds a step to stamp package.json version with BUILD_NUMBER as a 4th segment (e.g. 0.1.0.42) before publishing
  • Matches the same pattern used for Chrome extension manifest versioning

Test plan

  • Trigger snapshot workflow via workflow_dispatch with extension: true — VS Code publish should succeed
  • Verify the published version shows as pre-release on the marketplace

🤖 Generated with Claude Code

vsce rejects publish when the version already exists on the
marketplace. Stamp package.json with BUILD_NUMBER as a 4th segment
(e.g. 0.1.0.42) before publishing, matching the Chrome extension
approach.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ryanbas21 ryanbas21 merged commit 61e8e53 into main May 12, 2026
1 check passed
@ryanbas21 ryanbas21 deleted the fix/vscode-snapshot-version branch May 12, 2026 18:20
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.

1 participant