Skip to content

Conversation

@EndlessTrax
Copy link
Owner

@EndlessTrax EndlessTrax commented Oct 30, 2025

Add Automatic Marketplace Publishing Workflow

This PR adds a GitHub Actions workflow that automates the publishing process for new releases.

What it does

  • Triggers on git tags: Automatically runs when a tag matching v* (e.g., v1.4.1, v2.0.0) is pushed
  • Version verification: Ensures the tag version matches the version in package.json to prevent publishing mistakes
  • Publishes to VS Code Marketplace: Automatically packages and publishes the extension using vsce
  • Creates GitHub Release: Uses the gh CLI to create a release with auto-generated release notes and attaches the .vsix file

Usage

To publish a new version:

# 1. Update version in package.json
# 2. Commit the change
git add package.json
git commit -m "Bump version to X.X.X"

# 3. Create and push the tag
git tag vX.X.X
git push origin master --tags

@EndlessTrax EndlessTrax self-assigned this Oct 30, 2025
@EndlessTrax EndlessTrax added the enhancement New feature or request label Oct 30, 2025
@EndlessTrax EndlessTrax requested a review from Copilot October 30, 2025 15:34
Copy link
Contributor

Copilot AI left a comment

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 introduces a GitHub Actions workflow to automate the release process for a VS Code extension. The workflow is triggered when a version tag (starting with 'v') is pushed to the repository.

Key Changes:

  • Automated release workflow triggered by version tags
  • Version verification between git tag and package.json
  • Publishing to VS Code Marketplace and creating GitHub releases

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

EndlessTrax and others added 4 commits October 30, 2025 11:40
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@EndlessTrax EndlessTrax requested a review from Copilot October 30, 2025 15:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@EndlessTrax EndlessTrax requested a review from Copilot October 30, 2025 15:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@EndlessTrax EndlessTrax merged commit d692064 into master Oct 30, 2025
@EndlessTrax EndlessTrax deleted the add-release-workflow branch October 30, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants