From 8e0e1faff790c3618fa4a0856e1dbbb53d36fcd4 Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Fri, 3 Nov 2023 01:30:54 +0800 Subject: [PATCH] chore(workflow): add release-tag.yaml --- .github/workflows/release-tag.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release-tag.yaml diff --git a/.github/workflows/release-tag.yaml b/.github/workflows/release-tag.yaml new file mode 100644 index 0000000..30f0fb2 --- /dev/null +++ b/.github/workflows/release-tag.yaml @@ -0,0 +1,24 @@ +name: Create Release Tag + +on: + push: + tags: + - 'v*' + +jobs: + release-tag: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@master + + - name: Create Release Tag + id: release_tag + uses: yyx990803/release-tag@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + body: | + 更新内容请查看[CHANGELOG](https://github.com/varletjs/varlet/blob/dev/CHANGELOG.md)。 + Please refer to [CHANGELOG](https://github.com/varletjs/varlet/blob/dev/CHANGELOG.md) for details.