Blog / Release Notes in Git: How to Write and Automate Them

Release Notes in Git: How to Write and Automate Them

Lars Koole
Lars Koole
ยท
November 21, 2026

The short version of a release notes git workflow is this: write clear pull request titles, label them, let GitHub generate a draft from the merged pull requests, then edit that draft with a simple template before you publish. Once the labels and one small config file are in place, a release takes about five minutes instead of an afternoon spent scrolling through git log.

The problem is familiar. A release ships, a user asks what changed, and nobody can answer without reading 60 commit messages like "fix stuff" and "wip". Raw Git history is written for developers. Users need a short, grouped summary that says what is new, what is fixed, and what they must do to upgrade. Writing that by hand under deadline pressure means missed items and a different format every time.

This guide covers the full process in four steps: shape your commits and pull requests, generate notes with GitHub, automate the job with a workflow, and polish the draft with a reusable template. Every snippet is ready to copy. You will also see how release notes fit into the feedback and roadmap work that product teams do around a release.

What release notes are and what they need

What release notes in GitHub are

GitHub release notes are the text attached to a release, which is a Git tag published with a description and optional files. They appear on your repository's Releases page. They differ from the commit log, which lists every change for developers. Release notes list only what users care about, grouped and explained in plain words. A CHANGELOG.md file inside the repo can hold the same content and works on any Git host, so many teams keep both.

What every entry should include

A useful entry answers the same questions in the same order every time:

  • Version and date, so readers know which release they are looking at.
  • A one or two sentence summary of the theme of the release.
  • Breaking changes, each with the action users must take.
  • New features and fixes, one line each, linked to the pull request.
  • A compare link to the full commit range, for readers who want detail.

What you need before you start

You need write access to the repository, because GitHub lets collaborators with write access generate and customize notes. You also need version tags in the MAJOR.MINOR.PATCH form, such as v1.3.0 and v1.4.0, since tags mark the range of changes each release covers. Finally, merge through pull requests. Direct pushes to main leave the generator nothing to group.

Release notes are a user-facing summary of a tag, not a dump of the commit log.

Step 1. Write commits and pull requests that feed the notes

Title pull requests like release note lines

GitHub's generated notes list pull request titles, not commit messages. That makes the title your release note line. Write it in the imperative, name the user-visible result, and skip internal jargon. "Add CSV export to the reports page" works. "Fix bug" does not.

If your team squash merges, each pull request becomes one commit, so the Git history and the release notes tell the same story. That also keeps duplicate lines out of tools that read commits directly.

Label every pull request

Labels decide which category a line lands in. Agree on a small set and apply them before merging. The table below maps labels to note categories, with the matching Conventional Commits prefix and the version bump each one signals.

Commit prefix Pull request label Notes category Version bump
feat! or a BREAKING CHANGE footer breaking-change Breaking changes Major
feat enhancement New features Minor
fix bug Bug fixes Patch
chore, docs ignore-for-release Left out None

Conventional Commits is optional if you only use GitHub's generator. It becomes essential if you want tools to read commit messages and pick the next version automatically, as Step 3 shows.

Consistent labels on pull requests do more for your release notes than any tool you add later.

Step 2. Generate notes with GitHub's built-in tool

Generate notes from the Releases page

The fastest route is the Generate release notes button. Follow these steps:

  1. Open your repository and click Releases, then Draft a new release.
  2. Choose a tag from the dropdown, or type a new version such as v1.4.0 and click Create new tag.
  3. Pick the Previous tag if GitHub guesses the wrong starting point.
  4. Add a release title.
  5. Click Generate release notes.
  6. Read the result, then click Save draft or Publish release.

GitHub fills the description with a list of merged pull requests, the contributors, and a link to the full changelog. The GitHub documentation on generated release notes covers the same flow.

Group entries with a release.yml file

Without configuration, you get one flat list. Create .github/release.yml to sort pull requests into categories by label and drop the noise. A pull request lands in the first category whose labels it matches, and the * entry catches everything else.

# .github/release.yml
changelog:
  exclude:
    labels:
      - ignore-for-release
  categories:
    - title: Breaking changes
      labels:
        - breaking-change
    - title: New features
      labels:
        - enhancement
    - title: Bug fixes
      labels:
        - bug
    - title: Other changes
      labels:
        - "*"

Take a v1.4.0 release with 12 merged pull requests: 1 breaking change, 3 features, 5 fixes, and 3 documentation tweaks labeled ignore-for-release. The generated notes show 9 lines in three headings. Nothing lands in "Other changes", and the documentation tweaks never appear.

A twelve-line release.yml file turns a flat list of pull requests into notes a user can scan.

Step 3. Automate generation with a workflow or the CLI

Generate notes from the command line

The GitHub CLI does the same job in one command. The --notes-start-tag flag sets the starting point, and --draft lets you review before anything goes public.

gh release create v1.4.0 --generate-notes --notes-start-tag v1.3.0 --draft

If your code lives on another Git host, you can still produce a plain list from history. This command prints one line per commit between two tags, skipping merge commits:

git log v1.3.0..v1.4.0 --no-merges --pretty=format:"- %s (%h)"

Treat that output as a raw draft. It reflects commit wording, so expect to rewrite lines for users.

Create a draft release on every tag

To remove the manual step entirely, add a workflow that runs when you push a version tag and creates a draft release with generated notes. The contents: write permission lets the job create the release.

# .github/workflows/release.yml
name: Release
on:
  push:
    tags:
      - "v*"
permissions:
  contents: write
jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - name: Create draft release with generated notes
        env:
          GH_TOKEN: ${{ github.token }}
          GH_REPO: ${{ github.repository }}
        run: gh release create "$GITHUB_REF_NAME" --generate-notes --draft

If you want versions and a CHANGELOG.md driven purely by commits, look at semantic-release. It reads Conventional Commits, picks the next version, and publishes the notes, but it only works when everyone follows the commit format.

Push a tag, get a draft release: automation should produce the first version, and a person should approve it.

Step 4. Edit the draft with a release notes template

Copy this release notes template

Generated notes are accurate but terse. Paste the structure below into the description field, then fill it in from the generated list. Replace OWNER, REPO, and the version numbers with your own.

## What's new in v1.4.0

One or two sentences on the theme of this release, written for users.

### Breaking changes
- What changed and what users must do to upgrade. (#123)

### New features
- Plain-language description of the feature. (#118)

### Improvements
- What is better and why it matters. (#120)

### Bug fixes
- What was broken and that it now works. (#121)

**Full changelog**: https://github.com/OWNER/REPO/compare/v1.3.0...v1.4.0

Delete any heading with no entries. An empty "Bug fixes" section looks like an oversight.

Review, publish, and check the result

Before you publish, run a quick review. Check that every breaking change has an upgrade instruction, that each line describes a result users notice, and that internal refactors are gone. Then click Publish release. Anyone can check the outcome on the Releases page, or from a terminal with gh release view v1.4.0.

Release notes also close a loop with the people who asked for the change. If you track requests in a feedback portal such as Koala Feedback, move the item to the completed status on your public roadmap and link the release. Users who voted on it see that it shipped, and you did not write the announcement twice.

A release is not finished until the notes answer what changed, why it matters, and what users must do.

Make every release easy to explain

Good release notes in Git come from habits, not heroics. Title pull requests for users, label them, keep a small release.yml, let a workflow draft the notes, and edit that draft with a fixed template. Do this for three releases and the process becomes routine.

The benefit goes beyond tidy notes. Users see steady, honest communication about what you ship, and your team stops dreading release day. Pair that with a place where users can request and vote on features, and each release answers something real people asked for. If you want that feedback and roadmap side in one place, try Koala Feedback for free and connect what users ask for to what you ship.

Koala Feedback mascot with glasses

Collect valuable feedback from your users

Start today and have your feedback portal up and running in minutes.