Added git username and email configuration in publish.js.