1042932- Move common publish steps to the platform and update publish st...

...eps to support nesting steps