Explorar o código

release: Fix publish testflight

世界 hai 3 meses
pai
achega
96df69bcdc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cmd/internal/app_store_connect/main.go

+ 1 - 1
cmd/internal/app_store_connect/main.go

@@ -177,7 +177,7 @@ func publishTestflight(ctx context.Context) error {
 			}
 			log.Info(string(platform), " ", tag, " publish")
 			response, err := client.TestFlight.AddBuildsToBetaGroup(ctx, groupID, []string{build.ID})
-			if response != nil && response.StatusCode == http.StatusUnprocessableEntity {
+			if response != nil && (response.StatusCode == http.StatusUnprocessableEntity || response.StatusCode == http.StatusNotFound) {
 				log.Info("waiting for process")
 				time.Sleep(15 * time.Second)
 				continue