JSPM

  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q44415F
  • License MIT

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (githublogen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    githublogen

    Generate changelog for GitHub releases from Conventional Commits, powered by changelogithub.

    Auto Generate CHANGELOG.md from Conventional Commits, powered by changelogen.

    Usage

    In GitHub Actions:

    # .github/workflows/release.yml
    
    name: Release
    
    permissions:
      contents: write
    
    on:
      push:
        tags:
          - "v*"
    
    jobs:
      release:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v3
            with:
              fetch-depth: 0
    
          - uses: actions/setup-node@v3
            with:
              node-version: 16.x
    
          - run: npx githublogen
            env:
              GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

    It will be triggered whenever you push a tag to GitHub that starts with v.

    Configuration

    You can put a configuration file in the project root, named as githublogen.config.{json,ts,js,mjs,cjs}, .githublogenrc or use the githublogen field in package.json.

    Preview Locally

    npx githublogen --dry