Updated build script to log publishing.