For creating my apk and ipa file for my Xamarin.Android and Xamarin.iOS projects with the pipeline I need the version number from the AndroidManifest.xml and Info.plist as a variable for use in my yaml config file. I'm changing the version number before pushing to my build branch.
What ways are there to get the version?