Skip to content

docs: 补充 PyPI 发布步骤到 CLAUDE.md#6

Merged
GOSICK-Angel merged 1 commit into
mainfrom
docs/release-steps
Jun 2, 2026
Merged

docs: 补充 PyPI 发布步骤到 CLAUDE.md#6
GOSICK-Angel merged 1 commit into
mainfrom
docs/release-steps

Conversation

@GOSICK-Angel

Copy link
Copy Markdown
Owner

在 CLAUDE.md 新增 Releasing (PyPI) 章节(位于 Git Workflow 之后),记录:

  • Trusted Publishing (OIDC) 机制:release.ymlv* tag 触发,免存 token
  • 一次性 PyPI trusted publisher 配置(project / owner / repo / workflow / environment)
  • 发布流程:bump pyproject.toml version → 合并 main → 打 tag 推送 → gh run watch 监控 → curl 验证上线
  • PyPI 版本不可变(每次重试须 bump 版本)
  • 打包要点:web/dist 被 gitignore,wheel 与 sdist 均 force-include;本地 npm run build + python -m build + twine check 校验

纯文档改动。

🤖 Generated with Claude Code

记录 Trusted Publishing(OIDC) 发布流程:release.yml 由 v* tag 触发、
一次性 PyPI trusted publisher 配置、bump 版本→打 tag→监控→验证的步骤、
版本不可变约束,以及 web/dist force-include 打包要点与本地构建校验命令。
@GOSICK-Angel GOSICK-Angel merged commit a0308ea into main Jun 2, 2026
@GOSICK-Angel GOSICK-Angel deleted the docs/release-steps branch June 2, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant