Skip to content

Commit 9d55b44

Browse files
committed
Adjust temporary Git tags to also include namespace (and to normalize just in case something that can't be in a Git tag slips through)
1 parent e36f787 commit 9d55b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/src/bashbrew/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (r Repo) fetchGitRepo(arch string, entry *manifest.Manifest2822Entry) (stri
242242
return "", err
243243
}
244244

245-
gitTag := arch+"/"+r.RepoName+"/"+entry.Tags[0]
245+
gitTag := gitNormalizeForTagUsage(path.Join(arch, namespace, r.RepoName, entry.Tags[0]))
246246
gitRepo.DeleteTag(gitTag) // avoid "ErrTagExists"
247247
_, err = gitRepo.CreateTag(gitTag, goGitPlumbing.NewHash(commit), nil)
248248
if err != nil {

0 commit comments

Comments
 (0)