修复发布新版本时无法上传软件包

This commit is contained in:
DLmaster
2024-09-09 22:14:21 +08:00
parent ec9083b556
commit 051b062e29

View File

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