32
32
var toolFilePat = regexp.MustCompile(`^` + toolPrefix + `(\d+\.\d+\.\d+)-([^-]+)-([^-]+)\.tgz$`)
37
38
return fmt.Sprintf(toolPrefix+"%v-%s-%s.tgz", v, series, arch)
40
41
// ToolsPath gives the path for the current juju tools, as expected
41
42
// by environs.Environ.PutFile, for example.
44
45
// PutTools uploads the current version of the juju tools
45
46
// executables to the given storage.