Skip to content

Commit

Permalink
Merge pull request #2891 from ActiveState/version/0-42-0-RC2
Browse files Browse the repository at this point in the history
Version 0.42.0-RC2
  • Loading branch information
MDrakos authored Nov 22, 2023
2 parents facdbbb + eabb3bd commit e503ee0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions pkg/platform/runtime/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,14 @@ func (s *Setup) fetchAndInstallArtifactsFromBuildPlan(installFunc artifactInstal
artifactsToInstall = append(artifactsToInstall, a.ArtifactID)
}
}
artifactsToBuild, err = artifactListing.BuildtimeClosure()
} else {
artifactsToBuild, err = artifactListing.RuntimeClosure()
} else {
for _, a := range requestedArtifacts {
if _, alreadyInstalled := alreadyInstalled[a.ArtifactID]; !alreadyInstalled {
artifactsToInstall = append(artifactsToInstall, a.ArtifactID)
}
}
artifactsToBuild, err = artifactListing.BuildtimeClosure()
}
if err != nil {
return nil, nil, errs.Wrap(err, "Failed to compute artifacts to build")
Expand Down Expand Up @@ -587,7 +592,9 @@ func (s *Setup) fetchAndInstallArtifactsFromBuildPlan(installFunc artifactInstal
//}
}

return buildResult.OrderedArtifacts(), uninstallArtifacts, nil
artifacts := buildResult.OrderedArtifacts()
logging.Debug("Returning artifacts: %v", artifacts)
return artifacts, uninstallArtifacts, nil
}

func aggregateErrors() (chan<- error, <-chan error) {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.42.0-RC1
0.42.0-RC2

0 comments on commit e503ee0

Please sign in to comment.