Преглед на файлове

release: Fix publish testflight

世界 преди 3 месеца
родител
ревизия
96df69bcdc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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