summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork8s-merge-robot <k8s.production.user@gmail.com>2015-10-15 06:30:12 -0700
committerk8s-merge-robot <k8s.production.user@gmail.com>2015-10-15 06:30:12 -0700
commit1027a55bae5822aa2717d6ca12c302e12f63df18 (patch)
treea79c91cfb9fcaef1922e075a39ef6a0cf6683ba7
parent3456f3745e49ab8bf85f2ff7db4a8105e64fb621 (diff)
parentbb2aa8770ff269515fe5f83ce0620f634eb2cadc (diff)
Merge pull request #15519 from ihmccreery/upgrade-versioning
Auto commit by PR queue bot
-rw-r--r--getting-builds.md24
1 files changed, 17 insertions, 7 deletions
diff --git a/getting-builds.md b/getting-builds.md
index bcb981c4..3803c873 100644
--- a/getting-builds.md
+++ b/getting-builds.md
@@ -35,17 +35,27 @@ Documentation for other releases can be found at
You can use [hack/get-build.sh](http://releases.k8s.io/HEAD/hack/get-build.sh) to or use as a reference on how to get the most recent builds with curl. With `get-build.sh` you can grab the most recent stable build, the most recent release candidate, or the most recent build to pass our ci and gce e2e tests (essentially a nightly build).
+Run `./hack/get-build.sh -h` for its usage.
+
+For example, to get a build at a specific version (v1.0.2):
+
```console
-usage:
- ./hack/get-build.sh [stable|release|latest|latest-green]
+./hack/get-build.sh v1.0.2
+```
- stable: latest stable version
- release: latest release candidate
- latest: latest ci build
- latest-green: latest ci build to pass gce e2e
+Alternatively, to get the latest stable release:
+
+```console
+./hack/get-build.sh release/stable
+```
+
+Finally, you can just print the latest or stable version:
+
+```console
+./hack/get-build.sh -v ci/latest
```
-You can also use the gsutil tool to explore the Google Cloud Storage release bucket. Here are some examples:
+You can also use the gsutil tool to explore the Google Cloud Storage release buckets. Here are some examples:
```sh
gsutil cat gs://kubernetes-release/ci/latest.txt # output the latest ci version number