Incorrect Version Number reported by Constants.manifest.version

Okay, I realized that I didn’t understand release channels and OTA updates.

Now my question is, how to handle version numbers with OTA updates. If I update the version number and release an OTA update the version number in the App Store does not conform to the actual version number anymore which seems wrong.
I saw the following issue, which asks the same question but unfortunately never got answered either.