diff --git a/CHANGELOG.md b/CHANGELOG.md index eafef50..69de7e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.5.1 - 0.5.2 +# 0.5.1 - 0.5.3 # Fix: - Bug where testflight upload would succeed when the app was invalid because of a lower,same version number diff --git a/lib/src/integrations/testflight/plugin/testflight_plugin.dart b/lib/src/integrations/testflight/plugin/testflight_plugin.dart index 088398b..23cc36c 100644 --- a/lib/src/integrations/testflight/plugin/testflight_plugin.dart +++ b/lib/src/integrations/testflight/plugin/testflight_plugin.dart @@ -58,7 +58,8 @@ class TestFlightPlugin extends ImpaktfullCliPlugin { } else if (result.contains('The auth server returned a bad status code.')) { throw ImpaktfullCliError( 'Error during authentication with appstoreconnect (check email, app-specific password, connection to the internet)'); - } else if (result.contains('ContentDelivery Code=90062')) { + } else if (result.contains('ContentDelivery Code=-19232') || + result.contains('ContentDelivery Code=90062')) { throw ImpaktfullCliError( 'The bundle version must be higher than the previously uploaded version'); }