Skip to content
Merged
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
11 changes: 10 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ Then cut it:
script/release patch
```

To cut a release candidate instead:
To preview a release candidate:

```sh
RELEASE_DRY_RUN=1 script/release patch --rc
```

Then cut it:

```sh
script/release patch --rc
Expand All @@ -23,6 +29,9 @@ script/release patch --rc
The first candidate is `vX.Y.Z-rc.1`; repeating the same bump increments
`rc.N`. Run the bump without `--rc` to publish the stable `vX.Y.Z`.

A pushed release tag is immutable. If publishing fails, fix the publisher and
run the release script again for the next RC; do not move or reuse the failed tag.

Use `patch` for compatible fixes, `minor` for compatible additions, and `major`
for breaking changes.

Expand Down