Adding complete build and publish script.