determine version number from source control