.agents/skills/rustfs-release-version-bump/SKILL.md
Use this skill when the task is to prepare a new RustFS version release branch following the pattern validated in PR #2957.
AGENTS.md..github/pull_request_template.md.origin/main.The 1.0.0-beta.3 release branch updated these files:
Cargo.tomlCargo.lockREADME.mdREADME_ZH.mdflake.nixhelm/rustfs/Chart.yamlrustfs.specTreat this file list as the default checklist for future release bumps. Only drop a file if the repository's current release pattern clearly says it is no longer part of the publish flow.
1.0.0-beta.4.commit + push + PR flow.origin/main and isolate only release-related edits.Cargo.toml.Cargo.toml.Cargo.lock reflects the same release version for workspace packages.README.md and README_ZH.md using the <version> tag form, for example rustfs/rustfs:1.0.0-beta.4.flake.nix package version.helm/rustfs/Chart.yaml appVersion.helm/rustfs/Chart.yaml version using the release-chart rule:1.0.0-beta.3 -> 0.3.01.0.0-beta.4 -> 0.4.0rustfs.spec release metadata and changelog entry.rustfs.spec Release to the prerelease suffix without the base version, for example beta.3 for 1.0.0-beta.3.<version>.beta.N -> 0.N.0.rustfs.spec Release rule away from the release suffix form such as beta.N.#2957.make pre-commit.cargo clean to remove generated build artifacts before wrapping up.make pre-commit fails, stop and return BLOCKED.chore(release): prepare <version> for Cargo.toml and Cargo.lockchore(release): align release assets for <version> for docs and packaging metadatagit push -u origin <branch> or git push if upstream already exists.gh pr create --base main --head <branch> --title ... --body-file .....github/pull_request_template.md headings exactly.git diff --name-only origin/main...HEADgit diff --stat origin/main...HEADmake pre-commitcargo cleangit status --short --branchWhen using this skill, return:
<version> form, not v<version>.helm/rustfs/Chart.yaml version follows beta.N -> 0.N.0 based on the current release policy.rustfs.spec Release follows the release suffix form, for example beta.3.