gh-resolve
Resolves a semver version, branch name or commit hash to git ref.
resolve(slug, options)
var ref = ; refname // 0.19.6refsha // 6d6501d002aef91f1261f6ec98c6ed32046fe46areftype // tag
This method can be with either yield
or a callback
. (thanks to unyield
)
options
Available token
highly recommended, but not required.password
alias fortoken
cache
a cache instance provided by duo
License
(MIT)