修复部分语法错误
This commit is contained in:
8
.github/workflows/python-app.yml
vendored
8
.github/workflows/python-app.yml
vendored
@@ -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 }}
|
||||
Reference in New Issue
Block a user