Updated publish so that the all tasks are available to the secondary
publish and post publish hooks for reference.  This provides a nice way
to pass user data between the hooks if needed.