بنقرة واحدة
release-prep
Prepare a new release - update version, changelog, run full test suite and benchmarks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Prepare a new release - update version, changelog, run full test suite and benchmarks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | release-prep |
| description | Prepare a new release - update version, changelog, run full test suite and benchmarks |
| disable-model-invocation | true |
Prepare a new csv-nose release. Takes an optional version number argument.
If no version number provided, ask for one
Show current version from Cargo.toml
Update version in Cargo.toml
Update CHANGELOG.md with changes since the last release tag (use git log to find changes)
Run quality checks:
cargo fmt --checkcargo clippycargo testRun full benchmark suite (all 5 datasets) and compare results with README.md accuracy tables
Run cargo package --list to verify publish contents look correct
Summarize all results and flag any issues before the user publishes
Create a GitHub draft release using gh release create:
v{version}v{version}--draft so the user can review before publishing--notes-file (write the entry to a temp file and delete it afterwards) or inline via --notes. For the inline approach, set VERSION to the actual version number (e.g. 0.9.0) before running:
VERSION="0.9.0" # ← replace this with the actual version
--notes "$(awk "/## v$VERSION/{f=1; print; next} f && /## v[0-9]/{exit} f" CHANGELOG.md)"
If using --notes-file, remember to delete the temp file after the gh release create command completes.
Do NOT use --generate-notes (that pulls from PR history, not CHANGELOG).gh release create, ensure the tag exists and is pushed. Create an annotated tag if it doesn't exist locally, then push it:
git tag -a v{version} -m "v{version}" 2>/dev/null || true
git push origin v{version} 2>/dev/null || true
This handles three cases: tag doesn't exist (creates it), tag exists locally but not remotely (pushes it), tag exists remotely (push rejected by remote is safely ignored via || true). This prevents gh from creating a lightweight tag pointing to the wrong commit.Do NOT run cargo publish — leave that to the user