Skip to content

Commit 236a8cc

Browse files
committed
Add RELEASE_LIST to customization.
1 parent 03a609f commit 236a8cc

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ You can use the 'remove' option to undo update-golang.sh work:
6161
Example
6262
=======
6363

64+
Sample session:
65+
6466
lab@ubu1:~$ go
6567
The program 'go' can be found in the following packages:
6668
* golang-go
@@ -114,17 +116,17 @@ Customization
114116

115117
These environment variables are available for customization:
116118

117-
SOURCE=https://storage.googleapis.com/golang ;# download location
118-
DESTINATION=/usr/local ;# install destination
119-
RELEASE=1.8.3 ;# golang release
120-
OS=linux ;# os
121-
ARCH_PROBE=uname -m ;# arch detection
122-
ARCH=amd64 ;# arch
123-
PROFILED=/etc/profile.d/golang_path.sh ;# update PATH, optionally set GOROOT
124-
CACHE=/usr/local ;# cache downloads
125-
GOPATH=
126-
DEBUG=
127-
119+
RELEASE_LIST=https://golang.org/doc/devel/release.html ;# search for new releases from this url
120+
SOURCE=https://storage.googleapis.com/golang ;# download source location
121+
DESTINATION=/usr/local ;# install destination
122+
RELEASE=1.8.3 ;# force golang release
123+
OS=linux ;# force os
124+
ARCH_PROBE='uname -m' ;# force arch detection command
125+
ARCH=amd64 ;# force arch
126+
PROFILED=/etc/profile.d/golang_path.sh ;# update PATH, optionally set GOROOT
127+
CACHE=/usr/local ;# cache downloads in this dir
128+
GOPATH= ;# use this GOPATH
129+
DEBUG= ;# set to enable debug
128130

129131
Example:
130132

0 commit comments

Comments
 (0)