From 6e3e4662f4f8a80a284fdf21fcaad32219947463 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Fri, 6 Sep 2024 20:12:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E8=AF=AD?= =?UTF-8?q?=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-app.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 54f4e41..617af71 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -106,9 +106,9 @@ jobs: shopt -s nullglob NAME="$(head -n 1 更新说明.txt)" TAGNAME="$(head -n 1 更新说明.txt)" - CONTENT_MAIN="$(tail -n +2 更新说明.txt)" - CONTENT_TAIL="\`\`\`本release通过GitHub Actions自动构建\`\`\`" - CONTENT="$CONTENT_MAIN\n\n$CONTENT_TAIL" - gh release create "$TAGNAME" --target "main" --title "$NAME" --description "$CONTENT" --artifact artifacts/*.{zip,tar.xz} + 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" --artifact artifacts/*.{zip,tar.xz} env: GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} \ No newline at end of file