This document outlines the recommended release process for the Augment Agent GitHub Action.
Use the built-in npm scripts for easy version bumping:
# For patch releases (bug fixes): 0.1.0 -> 0.1.1
npm run version:patch
# For minor releases (new features): 0.1.0 -> 0.2.0
npm run version:minor
# For major releases (breaking changes): 0.1.0 -> 1.0.0
npm run version:majorThese scripts will:
- Update the version in
package.json - Create a git tag (e.g.,
v0.1.1) - Push the changes and tag to GitHub
- Trigger the automated release workflow
If you prefer manual control:
-
Update the version in package.json:
npm version 0.1.1 # or whatever version you want -
Type check the project:
npm run typecheck
-
Commit the changes:
git add package.json git commit -m "chore: release v0.1.1" -
Create and push the tag:
git tag v0.1.1 git push origin main git push origin v0.1.1
When a tag is pushed, the GitHub workflow will:
- ✅ Verify the package.json version matches the tag
- 🔍 Type check the project to ensure it compiles
- 🏷️ Update the major version tag (e.g.,
v1forv1.2.3) - 📦 Create a GitHub release with usage examples
- 🚀 Make the release available for users
- Patch (0.0.X): Bug fixes, documentation updates
- Minor (0.X.0): New features, backwards compatible
- Major (X.0.0): Breaking changes
The release process automatically maintains major version tags:
v0.1.5creates/updatesv0v1.2.3creates/updatesv1v2.0.0creates/updatesv2
This allows users to pin to major versions for automatic updates:
- uses: augmentcode/augment-agent@v1 # Gets latest v1.x.xVersion mismatch error:
- Ensure package.json version matches the git tag version
- The tag should be
v+ the package.json version (e.g.,v0.1.1)
Type check failures:
- Run
npm run typechecklocally to check for TypeScript errors - Ensure all dependencies are properly installed
Release not created:
- Check the GitHub Actions logs for detailed error messages
- Verify the GITHUB_TOKEN has proper permissions