You can automate the versioning of your app builds using a tool called Trapeze. This tool updates the iOS build number and Android version code based on the CI build number environment variable, ensuring that each build has a unique version number.