Fix build error handling
This commit is contained in:
parent
e36124cab6
commit
ec9bfa5ece
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user