resolve an npm-style semver range to a git tag for a github repo