projects/aports·blob master · refs

12 lines · 552 B

1diff -rupN a/internal/github/client.go b/internal/github/client.go
2--- a/internal/github/client.go 2024-09-14 20:39:16.000000000 +0000
3+++ b/internal/github/client.go 2026-03-09 14:34:54.120000000 +0000
4@@ -264,7 +264,7 @@ func (g *Client) GetRepoTarball(ctx cont
5 gopts.Ref = *opts.Ref
6 }
7
8- link, _, err := g.client.Repositories.GetArchiveLink(ctx, owner, name, github.Tarball, &gopts, true)
9+ link, _, err := g.client.Repositories.GetArchiveLink(ctx, owner, name, github.Tarball + "/", &gopts, true)
10 if err != nil {
11 return nil, "", err
12 }