Skip to content

Add automated marketplace publishing#3

Merged
ensui-dev merged 1 commit intomainfrom
feature/automated-publishing
Oct 11, 2025
Merged

Add automated marketplace publishing#3
ensui-dev merged 1 commit intomainfrom
feature/automated-publishing

Conversation

@ensui-dev
Copy link
Owner

Summary

Adds automated publishing to VSCode Marketplace via GitHub Actions.

Changes

Automated Publishing Workflow

  • New workflow: .github/workflows/publish.yml
  • Triggers on git tags matching v* pattern
  • Automatically builds, packages, and publishes extension
  • Creates GitHub releases with auto-generated notes
  • Uploads .vsix files as release artifacts

Package.json Enhancements

  • Keywords: Added for marketplace discoverability (42, header, 42network, etc.)
  • Categories: Added 'Formatters' category
  • Gallery Banner: Dark theme configuration for marketplace page

How to Use

Create a new release with one command:

# 1. Update version in package.json and CHANGELOG.md
# 2. Commit and push changes
# 3. Create and push tag
git tag v0.42.11
git push origin v0.42.11

The workflow will automatically:

  1. ✅ Build the extension
  2. ✅ Publish to marketplace
  3. ✅ Create GitHub release
  4. ✅ Attach .vsix file

Prerequisites

  • VSCODE_MARKETPLACE_TOKEN secret configured ✅ (already done)

Testing

  • Workflow validated
  • Package.json builds successfully
  • Ready for first release

Documentation

Complete release process documented in RELEASE_GUIDE.md (gitignored)

Set up GitHub Actions workflow for automatic VSCode Marketplace publishing:

Features:
- Triggers on git tags (e.g., v0.42.11)
- Automatically builds and packages extension
- Publishes to VSCode Marketplace using secret token
- Creates GitHub Release with auto-generated notes
- Uploads .vsix file as release artifact

Package.json improvements:
- Add keywords for better marketplace discoverability
- Update category to include 'Formatters'
- Add gallery banner configuration
- Optimize for marketplace presentation

This enables one-command releases:
  git tag v0.42.11 && git push origin v0.42.11

See RELEASE_GUIDE.md for complete release process.
@ensui-dev ensui-dev merged commit 8eae0a6 into main Oct 11, 2025
8 checks passed
@ensui-dev ensui-dev deleted the feature/automated-publishing branch October 11, 2025 00:08
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