Automate semantic versioning with dynamic releases from Git.
Project details
Zerv streamlines the release process by assigning a unique version to every commit. This tool works seamlessly alongside semantic-release for the main branch while allowing prereleases for other branches. Simplifying version management ensures efficient collaboration and consistent deployment practices.
Zerv is a dynamic versioning tool that integrates seamlessly with git, ensuring every commit receives a unique version. It is designed to complement semantic-release on the main branch while allowing users to utilize its prerelease capabilities across other branches. This dual functionality guarantees that no build goes unversioned, enhancing version control across development workflows.
To version any Git state, simply run:
zerv flow
This command generates meaningful SemVer versions according to the current branch context:
# → 1.0.0 (on main branch with tag v1.0.0)
# → 1.0.1-rc.1.post.3 (on release branch with pre-release tag)
# → 1.0.1-beta.1.post.3+develop.3.gf297dd0 (on develop branch)
# → 1.0.1-alpha.59394.post.1+feature.new.auth.1.g4e9af24 (on feature branch)
# → 1.0.1-alpha.17015.post.1.dev.1764382150+feature.dirty.work.1.g54c499a (on dirty feature branch)
Comprehensive documentation is available at zerv.wisl.dev, featuring:
zerv version, zerv flow, and more.Developers interested in contributing to Zerv can clone the repository and follow the standard setup process. The project also encourages contributions, providing clear development guidelines and a structured testing environment.
For more information on Zerv, visit the project documentation at zerv.wisl.dev.
Comments
0Start the conversation
Share the first comment.