App Store version vs TestFlight version

If we have a version of our app in the app store, say 4.1.0 and we are working on the next update, and have a beta in TestFlight, say 4.2.0

If we need to patch the version in the App Store because we find an issue. How do we get 4.1.1 into the store?

Uploading anything older that 4.2.0 will result in an error like: file must contain a higher version than that of the previously approved version

App Store version vs TestFlight version
 
 
Q