diff --git a/internal/patch.go b/internal/patch.go index f73e9cd..046174d 100644 --- a/internal/patch.go +++ b/internal/patch.go @@ -233,7 +233,7 @@ func getTipStream(pd *ProcessData, module string, pushBranch string) string { log.Fatalf("could not init git repo: %v", err) } - remoteUrl := fmt.Sprintf("%s/dist/%s.git", pd.UpstreamPrefix, module) + remoteUrl := fmt.Sprintf("%s/rpms/%s.git", pd.UpstreamPrefix, module) refspec := config.RefSpec("+refs/heads/*:refs/remotes/origin/*") remote, err := repo.CreateRemote(&config.RemoteConfig{ Name: "origin", diff --git a/internal/process.go b/internal/process.go index 850206b..730650e 100644 --- a/internal/process.go +++ b/internal/process.go @@ -70,7 +70,7 @@ func ProcessRPM(pd *ProcessData) { tagImportRegex = regexp.MustCompile(fmt.Sprintf("refs/tags/(imports/(%s.|%s.-.+)/(.*))", pd.ImportBranchPrefix, pd.ImportBranchPrefix)) md := pd.Importer.RetrieveSource(pd) - remotePrefix := "dist" + remotePrefix := "rpms" if pd.ModuleMode { remotePrefix = "modules" }