Skip to content

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

License

Notifications You must be signed in to change notification settings

actnwit/release-notes-generator

 
 

Repository files navigation

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
          from_ref_exclusive: v1.0.1
          to_ref_inclusive: v2.0.0
      - run: echo "${{ steps.release_notes.outputs.release_notes }}"

Inputs

  • version (required) - The version of the release. Example: 2.4.0
  • from_ref_exclusive (required) - The reference where to start gather commits. The referenced commit is not included. Examples:
    • tags/v1.0.1
    • v1.0.1
    • heads/my-branch
    • my-branch
    • 431880b
  • to_ref_inclusive (required) - The reference where to stop gather commits. The referenced commit is included. Examples:
    • tags/v2.0.0
    • v2.0.0
    • heads/master
    • master
    • 531c800
  • github_token (optional) - The Github token used to query this repository.(default: ${{ github.token }})

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.5%
  • TypeScript 20.5%