Fix publish task

`gulp publish` wasn't working. Also added a `git pull` in the publish script.