Skip to content

rattler-build bump-recipe#

Bump a recipe to a new version

Usage#

rattler-build bump-recipe [OPTIONS]

Options#

  • --recipe (-r) <RECIPE>
    Path to the recipe file (recipe.yaml). Defaults to current directory
    default: .
  • --version <VERSION>
    The new version to bump to. If not specified, will auto-detect the latest version from the source URL's provider (GitHub, PyPI, crates.io)
  • --include-prerelease
    Include pre-release versions when auto-detecting (e.g., alpha, beta, rc)
    default: false
  • --check-only
    Only check for updates without modifying the recipe
    default: false
  • --dry-run
    Perform a dry-run: show what would be changed without writing to the file
    default: false
  • --keep-build-number
    Keep the current build number instead of resetting it to 0
    default: false

Description#

Bump a recipe to a new version

This command updates the version and SHA256 checksum(s) in a recipe file. It can either use a specified version or auto-detect the latest version from supported providers (GitHub, PyPI, crates.io).