Fixing bug when no version is set but project uses them
diff --git a/action/config_wizard.go b/action/config_wizard.go
index 16886bb..c00c3d7 100644
--- a/action/config_wizard.go
+++ b/action/config_wizard.go
@@ -113,8 +113,8 @@
}
if dres {
- msg.Info("Updating %s to use the release %s instead of no release", dep.Name, cur)
- dep.Reference = cur
+ msg.Info("Updating %s to use the release %s instead of no release", dep.Name, memlatest)
+ dep.Reference = memlatest
changes++
}
}
diff --git a/cache/memory.go b/cache/memory.go
index ff2a0b8..3809331 100644
--- a/cache/memory.go
+++ b/cache/memory.go
@@ -105,6 +105,8 @@
m.latest[name] = version
}
}
+ } else {
+ m.latest[name] = version
}
found = false