mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Fix mock tag name for manual commits
This commit is contained in:
parent
94c657a760
commit
3eb16e289d
@ -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]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user