Update the version.sh script to actually build a valid version string from a tagged github archive