adds rake task to publish