Worker: explicitly close opened file after uploading it to the server

This commit is contained in:
Tomas Hozza 2022-04-01 17:58:54 +02:00 committed by Tom Gundersen
parent c98b3afcc4
commit fa1424e724

View file

@ -209,6 +209,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error {
if err != nil {
return err
}
f.Close()
}
if len(args.Targets) == 0 {