.agents/skills/rustfs-release-version-bump/SKILL.md
Use this skill to publish a RustFS release (alpha, beta, or stable) with a minimal, auditable diff and a complete ship flow (edit -> verify -> commit -> push -> PR).
Validated baseline: release pattern used in PR #2957.
1.0.0-beta.4.edit/verify).commit/push).commit/push/PR).If target version is missing or ambiguous, stop and ask before editing.
AGENTS.md (root and nearest path-specific files)..github/pull_request_template.md.origin/main.Treat the following file list as the default checklist for each release bump:
Cargo.tomlCargo.lockREADME.mdREADME_ZH.mdflake.nixhelm/rustfs/Chart.yamlrustfs.specOnly drop a file when the current repository release process clearly no longer requires it.
<version> (for example rustfs/rustfs:1.0.0-beta.4), not v<version>.beta.N -> 0.N.0.rustfs.spec Release uses prerelease suffix only (for example beta.4).[workspace.package].version in Cargo.toml.Cargo.toml.Cargo.lock so workspace package versions match target version.README.md and README_ZH.md: update versioned Docker examples to target version.flake.nix: update package version to target version.helm/rustfs/Chart.yaml:appVersion = target version.version follows chart mapping rule, for example:1.0.0-beta.3 -> 0.3.01.0.0-beta.4 -> 0.4.0rustfs.spec:Release to prerelease suffix (example beta.4).* Thu May 20 2026 houseme <[email protected]>- Update RPM package to RustFS 1.0.0-beta.4git config --get user.namegit config --get user.emaildate '+%a %b %d %Y'cargo fmt --allcargo fmt --all --checkmake pre-commitcargo clean.make pre-commit fails, return BLOCKED with root cause and do not silently widen scope to fix unrelated issues unless user asks.chore(release): prepare <version> for Cargo.toml and Cargo.lock.chore(release): align release assets for <version> for docs and packaging files.git push -u origin <branch> (first push), or git push (tracking already exists).gh pr create --base main --head <branch> --title ... --body-file ...N/A for non-applicable template sections.BLOCKED reason clearly.git status --short --branchgit diff --name-only origin/main...HEADgit diff --stat origin/main...HEADrg -n "<old_version>|<new_version>" Cargo.toml Cargo.lock README.md README_ZH.md flake.nix helm/rustfs/Chart.yaml rustfs.speccargo fmt --allcargo fmt --all --checkmake pre-commitcargo cleanWhen using this skill, always report:
PASSED or BLOCKED) with key evidence.