添加覆盖更新能力

This commit is contained in:
DLmaster
2024-09-06 20:30:57 +08:00
parent 9974d70d99
commit 80cadfa52c

View File

@@ -109,6 +109,6 @@ jobs:
NOTES_MAIN="$(tail -n +2 更新说明.txt)"
NOTES_TAIL="\`\`\`本release通过GitHub Actions自动构建\`\`\`"
NOTES="$NOTES_MAIN\n\n$NOTES_TAIL"
gh release create "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" artifacts/*.{zip,tar.xz}
gh release create "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" artifacts/*.{zip,tar.xz} --update
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}