Unverified Commit eb3ebcea authored by Martin Holst Swende's avatar Martin Holst Swende Committed by GitHub

internal/build: exit sftp upload (#24590)

parent d1c243f8
...@@ -138,6 +138,7 @@ func UploadSFTP(identityFile, host, dir string, files []string) error { ...@@ -138,6 +138,7 @@ func UploadSFTP(identityFile, host, dir string, files []string) error {
for _, f := range files { for _, f := range files {
fmt.Fprintln(in, "put", f, path.Join(dir, filepath.Base(f))) fmt.Fprintln(in, "put", f, path.Join(dir, filepath.Base(f)))
} }
fmt.Fprintln(in, "exit")
// Avoid travis timout after 10m of inactivity by printing something // Avoid travis timout after 10m of inactivity by printing something
// every 8 minutes. // every 8 minutes.
done := make(chan bool) done := make(chan bool)
......
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