mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
use rpms instead of dist
This commit is contained in:
parent
dc1067cc38
commit
5762a402c2
@ -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",
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user