use rpms instead of dist

This commit is contained in:
Mustafa Gezen 2021-02-14 21:44:44 +01:00
parent dc1067cc38
commit 5762a402c2
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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"
}