mirror of
https://github.com/imsyy/SPlayer.git
synced 2025-11-25 19:37:35 +08:00
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -47,14 +47,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: SPlayer-dev
|
name: SPlayer-dev
|
||||||
path: dist
|
path: dist
|
||||||
|
# 自动生成标签
|
||||||
|
- name: Autotag
|
||||||
|
run: |
|
||||||
|
$tag = "v$(date +'%Y%m%d%H%M%S')"
|
||||||
|
git tag $tag
|
||||||
|
git push origin $tag
|
||||||
# 创建 GitHub Release
|
# 创建 GitHub Release
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
|
||||||
with:
|
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
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files: dist/*.exe
|
files: dist/*.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user