Skip to content

Commit f128d89

Browse files
authored
Merge pull request #19016 from ivanvc/update-release-documentation-for-pre-releases
docs: Add note on releasing a pre-release
2 parents 654495c + 5a378e7 commit f128d89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/contributor-guide/release.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ which don't need to be executed before releasing each version.
8484
- `git clone --branch release-3.X [email protected]:etcd-io/etcd.git`
8585
6. Run the release script under the repository's root directory, replacing `${VERSION}` with a value without the `v` prefix, i.e. `3.5.13`.
8686
- `DRY_RUN=false ./scripts/release.sh ${VERSION}`
87+
- **NOTE:** When doing a pre-release (i.e., a version from the main branch, 3.6.0-alpha.2), you will need to explicitly set the branch to main:
88+
```
89+
DRY_RUN=false BRANCH=main ./scripts/release.sh ${VERSION}
90+
```
8791
8892
It generates all release binaries under the directory `/tmp/etcd-release-${VERSION}/etcd/release/` and images. Binaries are pushed to the Google Cloud bucket
8993
under project `etcd-development`, and images are pushed to `quay.io` and `gcr.io`.

0 commit comments

Comments
 (0)