Skip to content

Commit

Permalink
Fix release sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
CGA1123 committed Aug 20, 2021
1 parent a510838 commit a39f238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ func release(ctx context.Context, cmd Outputter, h *heroku.Service, buildDir, ap
case "succeeded":
return nil
case "pending":
time.Sleep(5 * time.Second)

continue
}

time.Sleep(5 * time.Second)
}

return fmt.Errorf("release still pending after multiple attempts")
Expand Down

0 comments on commit a39f238

Please sign in to comment.