Release Process for Tech Debt Manager Extension
May 21, 2025 ยท View on GitHub
This document outlines the process for creating new releases of the Tech Debt Manager VS Code extension.
Automated Release Process
The extension uses GitHub Actions for automated releases. There are two ways to trigger a release:
1. Push a Git Tag
When you push a Git tag in the format v*.*.* (e.g., v1.2.3), the release workflow will automatically:
- Build the extension
- Run linting
- Package the VSIX file
- Extract the relevant section from the CHANGELOG.md file
- Create a draft GitHub release with the VSIX file attached
# Example workflow to create a new release via tags
git tag v0.3.2
git push origin v0.3.2
2. Manually Trigger the Workflow
You can also manually trigger the release workflow from the GitHub Actions UI:
- Go to the GitHub repository
- Click on "Actions"
- Select the "Release" workflow
- Click "Run workflow"
- Enter:
- The tag name (e.g.,
v0.3.2) - Whether to create as draft (default: true)
- The tag name (e.g.,
- Click "Run workflow"
This method allows more control and is useful when you want to prepare releases in advance.
Changelog Format
The release workflow extracts content from CHANGELOG.md. To ensure proper extraction, follow this format:
# Change Log
## [0.3.2] - 2025-05-25
### Added
- New feature description
### Fixed
- Bug fix description
## [0.3.1] - 2025-05-21
...
Each version must:
- Have a header in the format
## [VERSION] - DATE - Include separate sections for Added, Fixed, Changed, etc.
Post-Release Steps
After a release is created:
- Verify the draft release on GitHub
- Review the changelog information
- Make any necessary adjustments to the release notes
- Publish the release when ready
- Update the version in package.json for the next development cycle