Skip to content

Commit

Permalink
修复发布新版本时无法上传软件包
Browse files Browse the repository at this point in the history
  • Loading branch information
DLmaster361 committed Sep 9, 2024
1 parent ec9083b commit 051b062
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 051b062

Please sign in to comment.