From 0977c9554200cd4c390f506321ffef6941563c31 Mon Sep 17 00:00:00 2001 From: sinspired Date: Wed, 14 Aug 2024 15:00:30 +0800 Subject: [PATCH] update workflows --- .github/workflows/creat_release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/creat_release.yml b/.github/workflows/creat_release.yml index 99dc458..24c3c48 100644 --- a/.github/workflows/creat_release.yml +++ b/.github/workflows/creat_release.yml @@ -1,8 +1,8 @@ name: Build and Release on: push: - # tags: - # - "v*" + tags: + - "v*" jobs: build-and-release: @@ -46,8 +46,6 @@ jobs: $tag = git describe --tags --abbrev=0 echo "LATEST_TAG=$tag" >> $env:GITHUB_ENV $tagMessage = git tag -l --format='%(contents)' $LATEST_TAG - $tagMessage = $tagMessage -replace "`n", "`n" # 保留换行符 - $tagMessage = $tagMessage -replace "`n", "`n- " # 在每行前添加 Markdown 列表符号 echo "TAG_MESSAGE=$tagMessage" >> $env:GITHUB_ENV - name: Delete old release