Fix mock tag name for manual commits

This commit is contained in:
Mustafa Gezen 2021-04-23 09:38:35 +02:00
parent 94c657a760
commit 3eb16e289d

View File

@ -122,7 +122,7 @@ func ProcessRPM(pd *data.ProcessData) {
log.Fatalln("invalid manual commit list")
}
head := fmt.Sprintf("refs/heads/%s", branchCommit[0])
head := fmt.Sprintf("refs/tags/imports/%s/%s-%s", branchCommit[0], md.RpmFile.Name(), branchCommit[1])
md.Branches = append(md.Branches, head)
commitPin[head] = branchCommit[1]
}