diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 78b0c39..34c2093 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -125,7 +125,8 @@ jobs: NOTES_MAIN="$(tail -n +2 更新说明.txt)" NOTES_TAIL="\`\`\`本release通过GitHub Actions自动构建\`\`\`" NOTES="$NOTES_MAIN

$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