원클릭으로
release
Prepare a release by updating the version, building, and verifying the distribution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Prepare a release by updating the version, building, and verifying the distribution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Merges completed work back to main through a protected-branch pull request workflow.
Set up a new git worktree and install dependencies.
Merges completed work back to main through a protected-branch pull request workflow.
Set up a new git worktree and install dependencies.
Prepares a Python package for PyPI release by updating the version, building, and verifying the distribution.
Verify that the codebase matches the desired end state described in a design document.
| name | release |
| description | Prepare a release by updating the version, building, and verifying the distribution. |
Prepare a release by updating the version, building, and verifying the distribution.
$ARGUMENTS
Check that the current branch is main and has zero differences from origin:
git checkout main && git diff --exit-code origin/main
If there are any differences:
Releases must start from a clean main branch with no uncommitted or unpushed changes.
Gather the following information from the user-provided context:
0.1.0a1 for first alpha, 0.1.0 for stable)If unclear, look up the currently published version on the appropriate registry and suggest the next patch increment (e.g., if 0.1.1 is published, suggest 0.1.2). Ask the user to confirm or provide a different version.
If the project has a documentation link checker, run it now. Fix any broken links and commit the fixes before proceeding. Abort the release if there are broken links to fix.
Every release should be entirely clean and involve only the version number as a change.
Update the project's version file (e.g., pyproject.toml, Cargo.toml, package.json) to set the target version, then use the committer agent to commit the change.
If the project uses versioned documentation, create a snapshot for this release using the project's documentation tool. For example, with Docusaurus:
cd docs && pnpm docusaurus docs:version <target-version>
Then update the documentation configuration to make the new version the default. For Docusaurus, update docusaurus.config.ts:
lastVersion to "<target-version>" in the preset's docs optionsversions config object:
"<target-version>": {
label: "v<target-version>",
},
Use the committer agent to commit the snapshot.
Build the distribution using the project's build tool (e.g., poetry build, cargo package, npm pack) and verify the output looks correct.
Tell the user the package is ready and provide instructions for publishing to the appropriate registry (e.g., PyPI, crates.io, npm). Recommend testing on a staging registry first if one is available.
After the user confirms the package is published successfully, create a git tag and GitHub release. First, find the previous version tag to scope the release notes:
git tag --sort=-version:refname | grep '^v' | sed -n '2p'
Then create the tag and release:
git tag v<target-version>
git push origin v<target-version>
gh release create v<target-version> --title "v<target-version>" --generate-notes --notes-start-tag v<previous-version>