release-by-tags
TypeScript icon, indicating that this package has built-in type declarations

1.0.32 • Public • Published

release-by-tags

[!TIP] 抓取当前分支最新的两个 tag 并生成软件版本更新日志,并发布到对应的github仓库下

npm versionnpm downloadsLicense

DEPRECATED | 不再维护

请使用@changelog-tags/github

使用

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

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

todo

emoji支持

name: Release

on:
  push:
    tags:
      - 'v*'

jobs:
  release:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - uses: actions/setup-node@v3
        with:
          node-version: lts/*

      - run: npx release-by-tags
        env:
          RELEASE_TOKEN: ${{secrets.TOKEN_FOR_ACTIONS}}

License

MIT License

Package Sidebar

Install

npm i release-by-tags

Weekly Downloads

0

Version

1.0.32

License

MIT

Unpacked Size

29.9 kB

Total Files

15

Last publish

Collaborators

  • polaris_liu