Retrieving the "Version" attribute of an OSX Application file via Bash
You can use defaults to fetch specific keys:

VERSION=$(defaults read /Applications/AppName.app/Contents/Info.plist CFBundleShortVersionString)
echo $VERSION