Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -31,8 +34,9 @@ This creates a `version-bump/<version>` 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` |

---
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down