release-by-tags
v1.0.32
Published
Release via specific tags and pushlish release notes to github.
Downloads
29
Maintainers
Readme
release-by-tags
[!TIP] 抓取当前分支最新的两个 tag 并生成软件版本更新日志,并发布到对应的github仓库下
DEPRECATED | 不再维护
使用
你需要准备一个账户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}}