Commit 77e96c92 authored by Russ Cox's avatar Russ Cox Committed by Andrew Gerrand

[release-branch.go1.4] api: create go1.4.txt

I read through and vetted these but others should look too.

LGTM=bradfitz, adg
R=r, minux, bradfitz, adg
CC=adg, golang-codereviews, gri, iant
https://golang.org/cl/182560043
parent eb91b5f2
This diff is collapsed.
......@@ -21,6 +21,7 @@ import (
"os/exec"
"os/user"
"path/filepath"
"runtime"
"strings"
)
......@@ -53,7 +54,7 @@ func main() {
}
out, err = exec.Command("go", "tool", "api",
"-c", file("go1", "go1.1", "go1.2", "go1.3"),
"-c", file("go1", "go1.1", "go1.2", "go1.3", "go1.4"),
"-next", file("next"),
"-except", file("except")).CombinedOutput()
if err != nil {
......@@ -105,7 +106,7 @@ func prepGoPath() string {
}
// The GOPATH we'll return
gopath := filepath.Join(os.TempDir(), "gopath-api-"+cleanUsername(username), goToolsVersion)
gopath := filepath.Join(os.TempDir(), "gopath-api-"+cleanUsername(username)+"-"+cleanUsername(strings.Fields(runtime.Version())[0]), goToolsVersion)
// cloneDir is where we run "hg clone".
cloneDir := filepath.Join(gopath, "src", "code.google.com", "p")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment