Scripts for automatically versioning and tagging git or mercurial projects with buildnumbers and other build-related metadata