59
59
commit, ref = ls_remote(repo_url, revision_spec, tag=True)
67
62
domain, user, repo = repo_name.split('/')
68
63
template = 'https://raw.githubusercontent.com/{}/{}/{}/version/version.go'
69
64
file_url = template.format(user, repo, commit)
70
65
response = urllib2.urlopen(file_url)
74
70
if __name__ == '__main__':