diff --git a/packages/packages.go b/packages/packages.go index 60e9a42..c2bbc15 100644 --- a/packages/packages.go +++ b/packages/packages.go @@ -61,7 +61,11 @@ func ProcessPackages() error { if newPkg.Version != existingPkg.Version || newPkg.Status != existingPkg.Status || newPkg.NewVersion != existingPkg.NewVersion { - newPkg.LastBuildStatus = domain.Error + if newPkg.Status == domain.Current { + mergedPackage.Packages.Set(pkgName, newPkg) + return true + } + newPkg.LastBuildStatus = existingPkg.LastBuildStatus newPkg.BuildAttempts = existingPkg.BuildAttempts mergedPackage.Packages.Set(pkgName, newPkg) } else {