Skip to content

Commit 6d4a183

Browse files
committed
Merge remote-tracking branch 'origin/devel' into test_configs
2 parents b5e02e0 + b128bca commit 6d4a183

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tools/download.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ type index struct {
5151
}
5252

5353
var systems = map[string]string{
54-
"linuxamd64": "x86_64-linux-gnu",
55-
"linux386": "i686-linux-gnu",
56-
"darwinamd64": "apple-darwin",
57-
"windows386": "i686-mingw32",
54+
"linuxamd64": "x86_64-linux-gnu",
55+
"linux386": "i686-linux-gnu",
56+
"darwinamd64": "apple-darwin",
57+
"windows386": "i686-mingw32",
58+
"windowsamd64": "i686-mingw32",
5859
}
5960

6061
func mimeType(data []byte) (string, error) {

upload/upload.go

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ type Extra struct {
5454
func PartiallyResolve(board, file, commandline string, extra Extra, t Locater) (string, error) {
5555
commandline = strings.Replace(commandline, "{build.path}", filepath.ToSlash(filepath.Dir(file)), -1)
5656
commandline = strings.Replace(commandline, "{build.project_name}", strings.TrimSuffix(filepath.Base(file), filepath.Ext(filepath.Base(file))), -1)
57+
commandline = strings.Replace(commandline, "{network.password}", extra.Auth.Password, -1)
5758

5859
if extra.Verbose == true {
5960
commandline = strings.Replace(commandline, "{upload.verbose}", extra.ParamsVerbose, -1)

0 commit comments

Comments
 (0)