Move from Rakefile to publish.sh