diff options
| author | Rick Hudson <rlh@golang.org> | 2016-04-27 18:19:16 -0400 |
|---|---|---|
| committer | Rick Hudson <rlh@golang.org> | 2016-04-27 18:46:52 -0400 |
| commit | 23aeb34df172b17b7bfaa85fb59ca64bef9073bb (patch) | |
| tree | a8ab866f1e50f0059856ce628f036d93ab620155 /doc/install-source.html | |
| parent | 1354b32cd70f2702381764fd595dd2faa996840c (diff) | |
| parent | d3c79d324acd7300b6f705e66af8ca711af00d9f (diff) | |
| download | go-23aeb34df172b17b7bfaa85fb59ca64bef9073bb.tar.xz | |
[dev.garbage] Merge remote-tracking branch 'origin/master' into HEAD
Change-Id: I282fd9ce9db435dfd35e882a9502ab1abc185297
Diffstat (limited to 'doc/install-source.html')
| -rw-r--r-- | doc/install-source.html | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/install-source.html b/doc/install-source.html index fc4d66fd2a..d9157c2b17 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -194,14 +194,19 @@ To build without <code>cgo</code>, set the environment variable <p>Go will install to a directory named <code>go</code>. Change to the directory that will be its parent and make sure the <code>go</code> directory does not exist. -Then clone the repository and check out the latest release tag:</p> +Then clone the repository and check out the latest release tag +(<code class="versionTag">go1.6</code>, for example):</p> <pre> $ git clone https://go.googlesource.com/go $ cd go -$ git checkout go1.6 +$ git checkout <span class="versionTag"><i><tag></i></span> </pre> +<p class="whereTag"> +Where <code><tag></code> is the version string of the release. +</p> + <h2 id="head">(Optional) Switch to the master branch</h2> <p>If you intend to modify the go source code, and @@ -378,7 +383,7 @@ New releases are announced on the <a href="//groups.google.com/group/golang-announce">golang-announce</a> mailing list. Each announcement mentions the latest release tag, for instance, -<code>go1.6</code>. +<code class="versionTag">go1.6</code>. </p> <p> @@ -388,11 +393,13 @@ To update an existing tree to the latest release, you can run: <pre> $ cd go/src $ git fetch -$ git checkout <i><tag></i> +$ git checkout <span class="versionTag"><i><tag></i></psan> $ ./all.bash </pre> +<p class="whereTag"> Where <code><tag></code> is the version string of the release. +</p> <h2 id="environment">Optional environment variables</h2> |
