[codex] Default release command to patch bump (#768)

This commit is contained in:
Wes
2026-05-28 08:48:12 -07:00
committed by GitHub
parent 30654e95f6
commit 4222a758c6
2 changed files with 8 additions and 4 deletions
+7 -3
View File
@@ -3,13 +3,16 @@
## Quick Start ## Quick Start
```sh ```sh
# Regular release (next minor version) # Regular release (next patch version)
just release just release
# Patch release # Patch release
just release patch just release patch
# Explicit version # Minor release
just release 0.4.0
# Any explicit version
just release 1.0.0 just release 1.0.0
``` ```
@@ -31,8 +34,9 @@ This creates a `version-bump/<version>` PR that bumps all version manifests, reg
| Command | Version | Example | | 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 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` | | `just release 1.0.0` | Explicit | `1.0.0` |
--- ---
+1 -1
View File
@@ -372,7 +372,7 @@ release *ARGS:
# Determine target version # Determine target version
ARG="{{ ARGS }}" ARG="{{ ARGS }}"
if [[ -z "$ARG" ]]; then if [[ -z "$ARG" ]]; then
VERSION=$(just get-next-minor-version) VERSION=$(just get-next-patch-version)
elif [[ "$ARG" == "patch" ]]; then elif [[ "$ARG" == "patch" ]]; then
VERSION=$(just get-next-patch-version) VERSION=$(just get-next-patch-version)
else else