English | 中文 | 日本語 | 한국어 | Français | Deutsch | Español | Português | Svenska | Suomi | Nederlands
Run scripts from the repository root.
mdbook build rust-config-tree from the repository root builds the default English manual. Use
scripts/publish-pages.sh to build every language for GitHub Pages.
Builds all language-specific mdBook manuals into target/mdbook.
scripts/publish-pages.shGitHub Pages is deployed by .github/workflows/pages.yml after changes are
pushed to main.
Runs crate release checks and performs a cargo publish --dry-run by default.
If package.version already exists on crates.io, the script bumps the patch
version automatically.
scripts/publish-crate.shBump a different version component when the current version already exists:
scripts/publish-crate.sh --bump minor
scripts/publish-crate.sh --bump majorPublish to crates.io:
scripts/publish-crate.sh --executeThe script requires a clean git working tree before publishing. Use --no-bump
to fail instead of auto-bumping an existing version.
Publish steps are retried for transient crates.io/index network failures. Tune retry behavior with environment variables:
PUBLISH_ATTEMPTS=8 PUBLISH_RETRY_DELAY=15 scripts/publish-crate.shRuns the full release flow:
- Build the mdBook Pages artifact.
- Run Rust checks.
- Commit and push code.
- Wait for the GitHub Pages workflow.
- Publish the crate.
Default mode is a dry run:
scripts/release.shExecute the full release:
scripts/release.sh --execute --message "Release 0.1.3"The full release script prepares the crate version before committing, so the version bump is included in the release commit.
Skip waiting for the Pages workflow:
scripts/release.sh --execute --no-wait-pages