@@ -341,7 +341,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, branch string, mods map[
|
||||
logger.Fatalf(ctx, "failed to commit: %v", err)
|
||||
}
|
||||
|
||||
newref := plumbing.NewHashReference(plumbing.ReferenceName(fmt.Sprintf("refs/heads/pkgdash/go_modules/%s-%s", path, mod.Version)), headRef.Hash())
|
||||
// newref := plumbing.NewHashReference(plumbing.ReferenceName(fmt.Sprintf("refs/heads/pkgdash/go_modules/%s-%s", path, mod.Version)), headRef.Hash())
|
||||
|
||||
/*
|
||||
if err = repo.Storer.SetReference(newref); err != nil {
|
||||
|
Reference in New Issue
Block a user