Skip to content

Semantic Release Notes Generator

Actions
Generates release notes using semantic-release/release-notes-generator
v3.0.0
Latest
Star (3)

Semantic Release Notes Generator

A Github Action for semantic-release/release-notes-generator

Build

Installation

name: Generate release notes
on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          # Fetches entire history, so we can analyze commits
          fetch-depth: 0
      - name: Generate release notes
        id: release_notes
        uses: fresa/release-notes-generator@master
        with:
          version: v2.0.0
          last_release_ref: v1.0.1
          release_ref: v2.0.0
          path_to_commits: ./commits.json
      - run: echo "${{ steps.release_notes.outputs.release_notes }}"

Inputs / Outputs

See actions.yml

Update from v0 -> v1

In v0 commits was automatically gathered through Github's compare api, however this API does not fully support all the traversing options that for example git log exposes which caused limitations. This has been removed in v1. It now instead acts as a pure facade of semantic-release/release-notes-generator. Use git log $last_release_ref...$release_ref to get the same behaviour as in v0. For an example how to fetch commit logs for releases for a trunk based branching model, see Determine Release Info in .github/workflows/ci.yml.

Semantic Release Notes Generator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Generates release notes using semantic-release/release-notes-generator
v3.0.0
Latest

Semantic Release Notes Generator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.