GitReleaseNoteGenerator 1.0.9
dotnet tool install --global GitReleaseNoteGenerator --version 1.0.9
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local GitReleaseNoteGenerator --version 1.0.9
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=GitReleaseNoteGenerator&version=1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package GitReleaseNoteGenerator --version 1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
GitReleaseNoteGenerator
A .NET global tool that generates categorized release notes from git commit history using the GitHub API.
Installation
dotnet tool install -g GitReleaseNoteGenerator
Quick Start
# Generate release notes for the latest release
git-release-notes --token <GITHUB_PAT> --owner myorg --repo myrepo --release-version v2.0.0
# Auto-detect version via NBGV, write to file
git-release-notes --token <GITHUB_PAT> --owner myorg --repo myrepo --output-file release-notes.md
# Use with GITHUB_OUTPUT in CI
git-release-notes --github-output --output-name changelog
CLI Reference
| Option | Type | Default | Description |
|---|---|---|---|
--token |
string | GITHUB_TOKEN env var |
GitHub personal access token |
--owner |
string | From GITHUB_REPOSITORY env |
Repository owner |
--repo |
string | From GITHUB_REPOSITORY env |
Repository name |
--base-ref |
string | Latest release tag | Base ref to compare from |
--head-ref |
string | Default branch | Head ref to compare to |
--release-version |
string | Auto-detect via NBGV | Version string for the heading |
--output-file |
path | (none) | Write release notes to a file |
--github-output |
flag | false |
Write to GITHUB_OUTPUT |
--output-name |
string | changelog |
Variable name for GITHUB_OUTPUT |
Commit Prefix Categories
Commits are categorized by their conventional-commit-style prefix:
| Prefix | Category | Emoji |
|---|---|---|
break |
Breaking Changes | 💥 |
feat |
Features | ✨ |
refactor |
Refactoring | ♻️ |
fix, bug |
Fixes | 🐛 |
perf |
Performance | ⚡ |
housekeeping, chore, update |
General Changes | :broom: |
test |
Tests | ✅ |
doc |
Documentation | 📝 |
style |
Style Changes | 💅 |
dep |
Dependencies | 📦 |
Commits from dependabot[bot] and renovate[bot] are automatically categorized as Dependencies.
GitHub Actions Usage
name: Create Release
on:
push:
tags: ['v*']
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- run: dotnet tool install -g GitReleaseNoteGenerator
- name: Generate Release Notes
env:
GITHUB_TOKEN: ${{ github.token }}
run: git-release-notes --release-version ${{ github.ref_name }} --output-file release-notes.md
- name: Create GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "${{ github.ref_name }}" --title "${{ github.ref_name }}" --notes-file release-notes.md
Migration from ChangeLog Action
If you are migrating from the ChangeLog GitHub Action:
- Replace the
glennawatson/ChangeLog@...step with the dotnet tool install and run steps shown above. - The commit prefix categories and emoji mappings are the same.
- Use
--output-filewithgh release create --notes-fileinstead of action outputs. - The
GITHUB_TOKENenvironment variable is read automatically when--tokenis not specified.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.9 | 142 | 2/21/2026 |