Skip to content

build: publish v2.0.0-rc.7 #97

build: publish v2.0.0-rc.7

build: publish v2.0.0-rc.7 #97

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to release branch
run: git push origin HEAD:release
- name: Create release
if: ${{ github.event_name != 'workflow_dispatch' }}
id: release_tag
uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details.