Skip to content

Commit

Permalink
fix: testflight bug with version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Dec 11, 2023
1 parent b131016 commit 3b23a52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 3b23a52

Please sign in to comment.