forked from forks/go-ethereum
internal/build: exit sftp upload (#24590)
This commit is contained in:
parent
d1c243f841
commit
eb3ebceaa1
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue