1.0.35 • Published 1 year ago

@changelog-tags/github v1.0.35

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@changelog-tags/github

!TIP 抓取当前分支最新的两个 tag 并生成软件版本更新日志,并发布到对应的github仓库下 你也可以指定 tag 也可以写入本地文件,而不是发布到github的仓库下

npm versionnpm downloadsLicense

使用

你需要准备一个账户token: 了解如何创建token

并将它作为需要自动生成 release note 仓库的 secret 了解如何创建secret

开始使用

name: 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-node@v4
        with:
          node-version: lts/*

      - run: npx @changelog-tags/github
        env:
          RELEASE_TOKEN: ${{secrets.TOKEN_FOR_ACTIONS}}

todo

emoji支持

commit 分组

shallow clone

License

MIT License