lib/tasks/deployment/20240925164205_add_batch_email_feature.rake
namespace :after_party do
desc 'Deployment task: add_batch_email_feature'
task add_batch_email_feature: :environment do
puts "Running deploy task 'add_batch_email_feature'"
Flipper.add(:batch_send_weekly_alerts)
# Update task as completed. If you remove the line below, the task will
# run with every deploy (or every time you call after_party:run).
AfterParty::TaskRecord
.create version: AfterParty::TaskRecorder.new(__FILE__).timestamp
end
end