Bump versions, write the CHANGELOG and tag releases from Conventional Commits
open sourceISCfree
Forked from standard-version. standard-version was deprecated in May 2022 because of maintainer availability; this fork continues it for those who can't switch to release-please.
commit-and-tag-version is a command-line tool that cuts releases from a repository that follows Conventional Commits: it reads the current version, bumps it by semantic versioning rules based on the commits since the last release, generates a CHANGELOG with conventional-changelog, commits the changed files and creates a git tag. It is a maintained fork of standard-version, which was deprecated in May 2022, and works as a drop-in replacement for it. Besides package.json it can bump versions in Maven and Gradle builds, .NET projects, YAML, OpenAPI and Python files, and it supports pre-releases, signed commits and tags, lifecycle scripts and a dry-run mode.
Problems it solves
- automate version bumps and CHANGELOG generation from my commit messages
- replace the deprecated standard-version with something maintained
- tag releases and write release notes without a CI release pipeline
Features
- bumps the version from Conventional Commits since the last release
- generates a CHANGELOG with conventional-changelog
- commits the bumped files and creates a git tag
- bumps versions in Maven, Gradle, .NET, YAML, OpenAPI and Python files
- pre-releases, signed commits and tags, lifecycle scripts and a dry-run mode
Alternatives
The same job
These do what commit-and-tag-version does.
- release-please Generate release PRs based on the Conventional Commits spec
- Commitizen Enforce commit message rules, bump versions and generate changelogs
- semantic-release Fully automated version management and package publishing
- release-plz Publish Rust crates from CI with a Release PR.
- Release It! A generic CLI to automate versioning and package publishing
- Changesets A tool to manage versioning and changelogs with a focus on monorepos
