From d64cfb40ece9e776394a5440cb4a42847d37b838 Mon Sep 17 00:00:00 2001 From: imsyy Date: Fri, 24 May 2024 10:40:36 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=F0=9F=90=8E=20ci:=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=B7=A5=E4=BD=9C=E6=B5=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit f2935f3c1c552cb530581854bc35f45d7502ede0. --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb1c625a..230ae57b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,14 +47,16 @@ 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 - if: startsWith(github.ref, 'refs/tags/v') with: - tag_name: ${{ github.ref }} - name: ${{ github.ref }}-rc - body: This version is still under development, currently only provides windows version, non-developers please do not use! draft: false prerelease: true files: dist/*.exe