mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
[codex] Default release command to patch bump (#768)
This commit is contained in:
+7
-3
@@ -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` |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user