create-release
Create a new release by determining version bump from commits and updating changelog, package.json, and creating a tag
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new release by determining version bump from commits and updating changelog, package.json, and creating a tag
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | create-release |
| description | Create a new release by determining version bump from commits and updating changelog, package.json, and creating a tag |
Create a new release for the JJX extension following semantic versioning.
Find the most recent version tag:
jj tag list -T 'name ++ "\n"' --sort committer-date 'v*'
Review commits since the last version:
jj log -r 'v1.0.0..@-' -T 'change_id.short() ++ " " ++ description'
Where $oldtag is the tag from step 1. Be sure to use this exact command.
Deep review specific commits: For any commits that need a deeper review to understand the changes:
jj show $change_id
Determine the new version using semantic versioning:
fix: commits → patch version bump (e.g., 1.0.0 → 1.0.1)feat: commits → minor version bump (e.g., 1.0.0 → 1.1.0)Update CHANGELOG.md with the new release notes:
CRITICAL: You MUST write the updated CHANGELOG.md to disk BEFORE asking the user for confirmation. The user cannot review or edit the changelog if you haven't written it to the file. Do not just show the user your proposed changes—actually write them to CHANGELOG.md first.
Get user confirmation: After writing to CHANGELOG.md, tell the user that you wrote the new release notes to CHANGELOG.md. Ask them to review and edit CHANGELOG.md if needed. Do not continue until the user approves.
pnpm run format to format the CHANGELOG.md file.
Update package.json with the new version in the version field.
Run pnpm install to update pnpm-lock.yaml:
pnpm install
Commit the version bump:
jj commit -m 'chore: Bump version to $tag'
Move the main bookmark to the new change:
jj bookmark move main -t @-
Create the new tag:
jj tag set -r main $tag
Use this skill when preparing a new release of the JJX extension. The skill handles the entire release process from determining the version to creating the tag.