Updated rake task to publish scheduled posts to use enums.