Update publish.sh script