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

no-dup-mode should not fail for new packages

parent dbc948a4
...@@ -87,14 +87,14 @@ func ProcessRPM(pd *ProcessData) { ...@@ -87,14 +87,14 @@ func ProcessRPM(pd *ProcessData) {
Auth: pd.Authenticator, Auth: pd.Authenticator,
}) })
if err != nil { if err != nil {
log.Fatalf("could not list remote: %v", err) log.Println("ignoring no-dup-mode")
} } else {
for _, ref := range list {
for _, ref := range list { if !strings.HasPrefix(string(ref.Name()), "refs/tags/imports") {
if !strings.HasPrefix(string(ref.Name()), "refs/tags/imports") { continue
continue }
tagIgnoreList = append(tagIgnoreList, string(ref.Name()))
} }
tagIgnoreList = append(tagIgnoreList, string(ref.Name()))
} }
} }
......
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