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 cgo, set the environment variable

Go will install to a directory named go. Change to the directory that will be its parent and make sure the go directory does not exist. -Then clone the repository and check out the latest release tag:

+Then clone the repository and check out the latest release tag +(go1.6, for example):

 $ git clone https://go.googlesource.com/go
 $ cd go
-$ git checkout go1.6
+$ git checkout <tag>
 
+

+Where <tag> is the version string of the release. +

+

If you intend to modify the go source code, and @@ -378,7 +383,7 @@ New releases are announced on the golang-announce mailing list. Each announcement mentions the latest release tag, for instance, -go1.6. +go1.6.

@@ -388,11 +393,13 @@ To update an existing tree to the latest release, you can run:

 $ cd go/src
 $ git fetch
-$ git checkout <tag>
+$ git checkout <tag>
 $ ./all.bash
 
+

Where <tag> is the version string of the release. +

Optional environment variables