Our team use altool to upload new builds of our app in App Store Connect (ASC). We've noticed that sometimes (not so often) a regular build may be successfully uploaded to ASC but then we can't find it in 'Builds' and even in 'Activity' section of ASC. When we try to upload the same version again we get an error
You've already uploaded a build with build number '$BUILDNUM_HERE' for version number '$VER_HERE'
so we need to increment build number for the same version and rebuild it to be able to upload our app.
altool don't output any error and exits with exit code 0 on the first uploading.
This issue affects our automation so I'll be glad for any help