بنقرة واحدة
bump-version
Bump all winpane package versions in lockstep and optionally tag a release
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Bump all winpane package versions in lockstep and optionally tag a release
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | bump-version |
| description | Bump all winpane package versions in lockstep and optionally tag a release |
Bump all winpane versions (Cargo.toml + package.json) in lockstep and verify the workspace builds.
/bump-version 0.1.2 — bump to a specific version (auto-detects current)
/bump-version 0.1.1 0.1.2 — explicit old → new
| # | File | Field(s) |
|---|---|---|
| 1 | crates/winpane-core/Cargo.toml | version |
| 2 | crates/winpane/Cargo.toml | version, winpane-core dep version |
| 3 | crates/winpane-ffi/Cargo.toml | version, winpane dep version |
| 4 | crates/winpane-host/Cargo.toml | version, winpane dep version |
| 5 | bindings/node/Cargo.toml | version, winpane dep version |
| 6 | bindings/node/package.json | version |
| 7 | bindings/node/npm/win32-x64-msvc/package.json | version |
| 8 | bindings/node/npm/win32-arm64-msvc/package.json | version |
Extract NEW_VERSION from the user's input. If OLD_VERSION is not provided, auto-detect it from crates/winpane-core/Cargo.toml (the version = "x.y.z" field).
Validate that NEW_VERSION is a valid semver string and differs from OLD_VERSION.
Use the project's bump script:
PowerShell (Windows):
.\scripts\bump-version.ps1 -To <NEW_VERSION>
# or with explicit old version:
.\scripts\bump-version.ps1 -From <OLD_VERSION> -To <NEW_VERSION>
Bash (Git Bash / CI):
./scripts/bump-version.sh <NEW_VERSION>
# or with explicit old version:
./scripts/bump-version.sh <OLD_VERSION> <NEW_VERSION>
The script will:
cargo check --workspace to verify dep resolutioncargo fmt --all -- --check to verify formattingIf the script succeeds, spot-check that git diff shows ONLY version string changes in the expected 8 files. No other content should be modified.
git add -A
git commit -m "chore: bump version to <NEW_VERSION>"
If the user wants to release immediately:
git push origin main
git tag v<NEW_VERSION>
git push origin v<NEW_VERSION>
Pushing the v* tag triggers .github/workflows/release.yml which automatically:
winpane-core → winpane → winpane-ffi → winpane-host)@winpane/win32-x64-msvc + winpane)winpane and @winpane/win32-x64-msvc at the new versiongit tag -d v<VER> && git push origin :refs/tags/v<VER>gh release delete v<VER> --yescargo yank --version <VER> -p <crate>npm unpublish @winpane/win32-x64-msvc@<VER>