修复部分语法错误

This commit is contained in:
DLmaster
2024-09-10 08:12:38 +08:00
parent 5e163181a8
commit 5f2337d949

View File

@@ -132,6 +132,7 @@ jobs:
NOTES_MAIN="$(tail -n +2 更新说明.txt)"
NOTES_TAIL="\`\`\`本release通过GitHub Actions自动构建\`\`\`"
NOTES="$NOTES_MAIN<br><br>$NOTES_TAIL"
gh release edit "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" artifacts/*
echo "--target main --title $NAME --notes $NOTES" > release_options.txt
gh release edit "$TAGNAME" -F release_options.txt artifacts/*
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}