mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Replace percentage in tage with underscore
This commit is contained in:
parent
5bbbfb8f82
commit
d272dd817f
@ -160,7 +160,7 @@ func ProcessRPM(pd *data.ProcessData) {
|
||||
match := tagImportRegex.FindStringSubmatch(matchString)
|
||||
md.PushBranch = pd.BranchPrefix + strings.TrimPrefix(match[2], pd.ImportBranchPrefix)
|
||||
newTag := "imports/" + pd.BranchPrefix + strings.TrimPrefix(match[1], "imports/"+pd.ImportBranchPrefix)
|
||||
newTag = strings.Replace(newTag, "%", "%%", -1)
|
||||
newTag = strings.Replace(newTag, "%", "_", -1)
|
||||
|
||||
rpmFile := md.RpmFile
|
||||
// create new Repo for final dist
|
||||
|
Loading…
Reference in New Issue
Block a user