Update publish.sh

First step to fix #205