A release helper

The problem

Build a tool that reads the conventional commit messages since the last release, chooses the next version number, and writes a changelog entry.

Requirements

Technologies

Step by step

  1. Write the commit parser and test it with valid and invalid messages.
  2. Write the function that picks the bump from the set of change kinds.
  3. Write the changelog builder that groups the descriptions under headings.
  4. Run the whole helper on a sample history and check the result by hand.

Expected result

A program that prints the next version and a ready-to-paste changelog section.

How it is evaluated

Ways to improve it