diff --git a/release.go b/release.go index 3b7dd705..8c2309aa 100644 --- a/release.go +++ b/release.go @@ -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")