extract the version from git tags