MfGames Conventional Commits

Up a Level

A small utility that calculates the sematic version from conventional commits in a Git repository.

This utility does only two things: calculate the semantic version[1] from Git commits that conform to the conventional commit[2] specification and provide a lightweight way of running scripts when it changes. It is path-aware which means only commits inside certain directories are included in the calculation. The current version number is built from the highest sematic version tag found in the commit's parents.

1: https://semver.org/

2: https://www.conventionalcommits.org/en/v1.0.0/

There is an example[3] of how this works.

3: ./example/

Table of Contents

Configuration

This tool has multiple sub-commands. In all cases, they are written as `mfgames-conventional-commit verb` where verb is:

version is the command that shows the calculated version

update is the command to run the update scripts

Footer

Below are various useful links within this site and to related sites (not all have been converted over to Gemini).

Categories

D. Moonfire

Fedran

The Moonfires

HTML