Skip to content

feat: enable automatic marketplace publishing#4

Merged
jcouball merged 1 commit into
mainfrom
enable-marketplace-publishing
Dec 12, 2025
Merged

feat: enable automatic marketplace publishing#4
jcouball merged 1 commit into
mainfrom
enable-marketplace-publishing

Conversation

@jcouball

@jcouball jcouball commented Dec 12, 2025

Copy link
Copy Markdown
Member

This PR enables automatic publishing to the VS Code Marketplace and Open VSX when a release is created.

Changes

  • Added publisher field to package.json (set to "main-branch")
  • Uncommented the VS Code Marketplace publishing step in the publish-release.yml workflow
  • Uncommented the Open VSX publishing step in the publish-release.yml workflow

Prerequisites

VS Code Marketplace

  • ✅ Azure DevOps organization created (main-branch)
  • ✅ Personal Access Token (PAT) generated with Marketplace (Manage) scope
  • VSCE_PAT secret added to GitHub repository

Open VSX

After Merging

When the next release-please PR is merged, the extension will automatically:

  1. Create a GitHub release with a tag
  2. Build and package the extension as a .vsix file
  3. Upload the .vsix to the GitHub release
  4. Publish to the VS Code Marketplace 🚀
  5. Publish to Open VSX 🚀

The extension will be available at:

Copilot AI review requested due to automatic review settings December 12, 2025 20:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables automated publishing to the VS Code Marketplace by adding the required publisher identifier and activating the marketplace publishing step in the release workflow. According to the PR description, the prerequisites (Azure DevOps organization, PAT token, and GitHub secret) are already in place.

Key Changes:

  • Added publisher field to package.json with value "main-branch"
  • Enabled VS Code Marketplace publishing step in the publish-release workflow
  • Publishing will be triggered automatically when release-please creates a new release

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
package.json Adds the "publisher" field identifying "main-branch" as the marketplace publisher
.github/workflows/publish-release.yml Uncomments the VS Code Marketplace publishing step that uses the VSCE_PAT secret to authenticate with vsce publish

Comment thread package.json
Comment thread package.json
@jcouball
jcouball force-pushed the enable-marketplace-publishing branch from c2aefa2 to 3604acd Compare December 12, 2025 21:42
- Add publisher field to package.json (set to 'main-branch')
- Enable VS Code Marketplace publishing in workflow
- Enable Open VSX publishing in workflow
- Add extension icon (icon.png and icon.svg)
- Add keywords for marketplace discoverability
@jcouball
jcouball force-pushed the enable-marketplace-publishing branch from 3604acd to c613215 Compare December 12, 2025 21:44
@jcouball
jcouball merged commit 3abf159 into main Dec 12, 2025
8 checks passed
@jcouball
jcouball deleted the enable-marketplace-publishing branch December 12, 2025 21:46
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