This repository uses automated GitHub workflows to prepare releases whenever a new tag is pushed.
- When you push a tag starting with
v(e.g.,v1.0.0,v2.1.3), the release workflow automatically triggers - The workflow builds the project, runs tests, and creates a GitHub release with auto-generated release notes
Note: This workflow does (not yet) publish the release to npmjs.com.
# Make sure you're on the main branch and have latest changes
git checkout main
git pull origin main
# Run tests and build locally (optional but recommended)
npm test
npm run build
# Create and push a tag
git tag vx.y.z # Replace with your desired version
git push origin vx.y.zAfter pushing the tag, the workflow will automatically:
- Run tests
- Build the project
- Generate release notes from commit history
- Create a GitHub release
For beta or alpha releases:
# Create a pre-release tag
git tag vx.y.z-beta.1
git push origin vx.y.z-beta.1Pre-releases will be automatically marked as such in the GitHub release.
The workflow automatically generates technical release notes by collecting all commit messages between the current and previous tag. The release notes include:
- A list of changes with commit hashes
- Proper pre-release marking for beta/alpha versions