@jason-ari/auto-release
v1.2.0
Published
Auto release tool for Node.js projects
Downloads
56
Readme
- Supports semantic versioning
- Automatically generates CHANGELOG.md
- Integrates with GitHub Actions for CI/CD
- Easy to use with simple commands
Installation
npm install @jason-ari/auto-releaseUsage
💡 This tool will be based on the commits from the previous tag in the local git history to HEAD. Before using this tool, ensure there is at least one tag in the git repository.
1. Update package version
Automatically update the version field in package.json by comparing the commit types from the previous tag to HEAD in the git history.
npx update-version2. Update CHANGELOG.md
Identify the commits in the git repository that conform to the Angular Commit Message Conventions from the previous tag to HEAD, categorize them into Features and Bug Fixes, and update the changelog.
npx update-changelog3. Create a Git tag
💡 You should add a new tag in the git repository by running this command when changelog is updated.
npx create-tagDry Runs
Use --dry-run to see what changes would be made without actually applying them.
e.g.
npx update-version --dry-run