Commit 49a22b90 authored by Mustafa Gezen's avatar Mustafa Gezen 🏗
Browse files

no-dup-mode should not fail for new packages

parent dbc948a4
......@@ -87,9 +87,8 @@ func ProcessRPM(pd *ProcessData) {
Auth: pd.Authenticator,
})
if err != nil {
log.Fatalf("could not list remote: %v", err)
}
log.Println("ignoring no-dup-mode")
} else {
for _, ref := range list {
if !strings.HasPrefix(string(ref.Name()), "refs/tags/imports") {
continue
......@@ -97,6 +96,7 @@ func ProcessRPM(pd *ProcessData) {
tagIgnoreList = append(tagIgnoreList, string(ref.Name()))
}
}
}
sourceRepo := *md.repo
sourceWorktree := *md.worktree
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment