一键导入
patch
Use when releasing a new patch version of premiere-ai to GitHub and PyPI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when releasing a new patch version of premiere-ai to GitHub and PyPI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | patch |
| description | Use when releasing a new patch version of premiere-ai to GitHub and PyPI |
Releases a new patch version: increments the last digit of the semver (e.g. 0.3.0 → 0.3.1).
Read pyproject.toml for version = "X.Y.Z". Next version is X.Y.(Z+1).
Edit pyproject.toml: set version = "X.Y.(Z+1)".
Prepend a new section at the top (after the # Changelog heading) for the new version:
## X.Y.(Z+1) — YYYY-MM-DD
### Bug fixes
...
### Improvements (if applicable)
...
Summarise commits since the previous tag:
git log vX.Y.Z..HEAD --oneline
Replace the entire contents of RELEASE.md with only the body of the new changelog entry (the sections under the new version heading). No top-level header — start directly with ## Bug fixes or equivalent.
git add pyproject.toml CHANGELOG.md RELEASE.md
git commit -m "Release vX.Y.(Z+1): <one-line summary>"
git tag -a vX.Y.(Z+1) HEAD -m "<same one-line summary>"
git push origin main --follow-tags
The tag must point to HEAD (the commit that includes the workflow in .github/workflows/release.yml), otherwise GitHub Actions won't fire.
Pushing the tag triggers:
release.yml → creates a GitHub release with auto-generated notespublish.yml → publishes to PyPI via OIDC trusted publisher