Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate changelog for GitHub

License

NotificationsYou must be signed in to change notification settings

antfu/changelogithub

NPM version

Generate changelog for GitHub releases fromConventional Commits, powered bychangelogen.

👉 Changelog example

Features

  • Support exclamation mark as breaking change, e.g.chore!: drop node v10
  • Grouped scope in changelog
  • Create the release note, or update the existing one
  • List contributors

Usage

In GitHub Actions:

# .github/workflows/release.ymlname:Releasepermissions:contents:writeon:push:tags:      -'v*'jobs:release:runs-on:ubuntu-lateststeps:      -uses:actions/checkout@v4with:fetch-depth:0      -name:Set nodeuses:actions/setup-node@v4with:registry-url:https://registry.npmjs.org/node-version:lts/*      -run:npx changelogithub# or changelogithub@0.12 to ensure a stable resultenv:GITHUB_TOKEN:${{secrets.GITHUB_TOKEN}}

It will be trigged whenever you push a tag to GitHub that starts withv.

Configuration

You can put a configuration file in the project root, named aschangelogithub.config.{json,ts,js,mjs,cjs},.changelogithubrc or use thechangelogithub field inpackage.json.

Preview Locally

npx changelogithub --dry

Why?

I used to useconventional-github-releaser for almost all my projects. Until I found that itdoes NOT support using exclamation marks for breaking changes - hiding those important breaking changes in the changelog without the awareness from maintainers.

License

MIT License © 2022Anthony Fu

About

Generate changelog for GitHub

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

[8]ページ先頭

©2009-2025 Movatter.jp