Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired committed Aug 14, 2024
1 parent b793c3a commit 0977c95
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/creat_release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build and Release
on:
push:
# tags:
# - "v*"
tags:
- "v*"

jobs:
build-and-release:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0977c95

Please sign in to comment.