修复发布新版本时无法上传软件包
This commit is contained in:
3
.github/workflows/python-app.yml
vendored
3
.github/workflows/python-app.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user