diff --git a/internal/process.go b/internal/process.go index 03325c2..ab1e87c 100644 --- a/internal/process.go +++ b/internal/process.go @@ -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