From d3e677d494a3add1443ffbbcf061e8ad88caa5f4 Mon Sep 17 00:00:00 2001 From: imsyy Date: Fri, 10 May 2024 16:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe29e1f6..230ae57b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,6 +47,12 @@ jobs: with: name: SPlayer-dev path: dist + # 自动生成标签 + - name: Autotag + run: | + $tag = "v$(date +'%Y%m%d%H%M%S')" + git tag $tag + git push origin $tag # 创建 GitHub Release - name: Release uses: softprops/action-gh-release@v2