From 41278d8ef436a00026ee62635a1fe531b2fa7747 Mon Sep 17 00:00:00 2001 From: Benoit Gagnon Date: Sat, 28 Sep 2019 11:43:10 -0400 Subject: [PATCH] undo typo in tarball url format --- pkg/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/git.go b/pkg/git.go index e02f53c..fb6f153 100644 --- a/pkg/git.go +++ b/pkg/git.go @@ -171,7 +171,7 @@ func (p *GitPackage) Install(ctx context.Context, name, dir, version string) (st // the ETag header included in the response. isGitHubRemote, err := regexp.MatchString(`^(https|ssh)://github\.com/.+$`, p.Source.Remote) if isGitHubRemote { - archiveUrl := fmt.Sprintf("%s/archive/%s.tar.gzz", p.Source.Remote, version) + archiveUrl := fmt.Sprintf("%s/archive/%s.tar.gz", p.Source.Remote, version) archiveFilepath := fmt.Sprintf("%s.tar.gz", tmpDir) defer os.Remove(archiveFilepath)