From 065acbb5b7387ac3284899397d0fabc8025c4370 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Fri, 18 Aug 2023 19:42:13 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=96=B0=E5=A2=9E=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8F=91=E7=89=88=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-tag.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release-tag.yml diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml new file mode 100644 index 00000000..c5617309 --- /dev/null +++ b/.github/workflows/release-tag.yml @@ -0,0 +1,23 @@ +name: Release + +on: + push: + tags: + - 'v*' # Push events to matching v*, i.e. v1.0.0 + +jobs: + release: + if: github.repository == 'Charles7c/continew-admin' + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Create Release for Tag + id: release_tag + uses: yyx990803/release-tag@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + body: | + 详情请参阅 [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/dev/CHANGELOG.md)。 \ No newline at end of file