Skip to content

Commit c91720e

Browse files
committed
[Github Action]: update release title
1 parent 2528b76 commit c91720e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ jobs:
6161
run: |
6262
# 检查 Release 是否存在
6363
if gh release view ${{ github.ref_name }} > /dev/null 2>&1; then
64-
echo "Release ${{ github.ref_name }} already exists, will update it."
64+
echo "Release ${{ github.ref_name }} already exists, updating title..."
65+
# 更新已存在的 Release 标题
66+
gh release edit ${{ github.ref_name }} --title "Xidian LaTeX Template ${{ github.ref_name }}"
6567
else
6668
echo "Creating new release ${{ github.ref_name }}..."
6769
gh release create ${{ github.ref_name }} \

0 commit comments

Comments
 (0)