Skip to content

Commit

Permalink
internal/build: exit sftp upload (#24590)
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman authored Mar 25, 2022
1 parent d1c243f commit eb3ebce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/build/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb3ebce

Please sign in to comment.