func (updater *Updater) latestReleaseNameAndVersion() (name, version string) { // Create Client with a stub Credentials c := github.Client{Credentials: &github.Credentials{Host: updater.Host}} name, _ = c.GhLatestTagName() version = strings.TrimPrefix(name, "v") return }