Latest GitHub Tag
Fetch the latest tag name from a GitHub repo (promise-based)
Resolves to an error if a package has no tags.
Options
You can pass an options object as an optional third argument. It can take the two keys:
auth
— An authentication object that will be passed to the GitHub module'sauthenticate
method.timeout
— A value, in milliseconds, to wait for this call to be made. Defaults to5000
.
License
MIT