Fix publish rake task.