Modified setBuildVersion.sh to use the number of git commits in the master branch when archiving for App Store release.