diff --git a/internal/build/util.go b/internal/build/util.go index f2e03819b3..34cd6d4544 100644 --- a/internal/build/util.go +++ b/internal/build/util.go @@ -138,6 +138,7 @@ func UploadSFTP(identityFile, host, dir string, files []string) error { for _, f := range files { 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 // every 8 minutes. done := make(chan bool)