Add explicit lifecycle task for release builds (#77458)
Add explicit lifecycle task for release builds (#77458)

Our release pipeline is getting increasingly complex. This is leading
to lots of issues with tasks "leaking" into those builds causing
issues. We rely currently on `assemble` as the task to "build
everything", which it is, but we don't necessarily want to build
_everything_ in our release pipeline in a single go.

This change introduces an explicit task to be used by our
release builds which filters out ML and Docker build as those are
doing in separate release stages. As necessary going forward we
should tweak the dependencies here, instead of making our release
configuration more and more fragile.
GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch