This repository contains two Git hook scripts designed to automate versioning and changelog generation based on commit messages. These scripts are intended to be used as Git hooks to streamline your development workflow.
- If the commit message contains a version tag (
ver:X.Y.Z
orver:X.Y
), it uses that version, creates a Git tag with the specified version and optionally pushes the tag to the remote repository. - If no version tag is found, it generates a version number based on the latest tag, the number of commits since that tag, the commit timestamp, and the commit hash.