diff --git a/RELEASING.md b/RELEASING.md index d459fede8..52322fa5f 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -3,13 +3,16 @@ ## Quick Start ```sh -# Regular release (next minor version) +# Regular release (next patch version) just release # Patch release just release patch -# Explicit version +# Minor release +just release 0.4.0 + +# Any explicit version just release 1.0.0 ``` @@ -31,8 +34,9 @@ This creates a `version-bump/` PR that bumps all version manifests, reg | Command | Version | Example | |---------|---------|---------| -| `just release` | Next minor | `0.3.0` → `0.4.0` | +| `just release` | Next patch | `0.3.0` → `0.3.1` | | `just release patch` | Next patch | `0.3.0` → `0.3.1` | +| `just release 0.4.0` | Explicit minor | `0.3.1` → `0.4.0` | | `just release 1.0.0` | Explicit | `1.0.0` | --- diff --git a/justfile b/justfile index 26df6a342..d4bf12988 100644 --- a/justfile +++ b/justfile @@ -372,7 +372,7 @@ release *ARGS: # Determine target version ARG="{{ ARGS }}" if [[ -z "$ARG" ]]; then - VERSION=$(just get-next-minor-version) + VERSION=$(just get-next-patch-version) elif [[ "$ARG" == "patch" ]]; then VERSION=$(just get-next-patch-version) else