Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 994 Bytes

File metadata and controls

47 lines (32 loc) · 994 Bytes

Release Guide

Steps to Release a New Version

  1. Update CHANGELOG.md:

    • Add version entry: ## [X.Y.Z] - YYYY-MM-DD with changes
  2. Update version in package.json:

    # Edit package.json to set "version": "X.Y.Z"
    npm install  # sync package-lock.json
  3. Commit and push:

    git add CHANGELOG.md package.json package-lock.json
    git commit -m "chore: update version to vX.Y.Z"
    git push origin main
  4. Run the release workflow:

    gh workflow run release.yml

    This runs tests, packages the extension as .vsix, and creates a GitHub Release with the file attached.

  5. Verify the release:

    gh release view vX.Y.Z
  1. Update the release notes on GitHub to match CHANGELOG.md:

    gh release edit vX.Y.Z --notes "## What's Changed
    - Change 1
    - Change 2
    
    **Full Changelog**: https://github.com/euxx/github-copilot-usage/compare/vPREV...vX.Y.Z"