remodified publish.sh for publishing and correct the ruby client version