Files
grecia/lib/tasks/consul.rake
Javi Martín d137df67bf Fix release version number in rake tasks
When we added the tasks, we thought the new version was going to be
version 1.6.0, but in the end we're renaming it to version 2.0.0.
2023-07-13 17:48:26 +02:00

14 lines
468 B
Ruby

namespace :consul do
desc "Runs tasks needed to upgrade to the latest version"
task execute_release_tasks: ["settings:rename_setting_keys",
"settings:add_new_settings",
"execute_release_2.0.0_tasks"]
desc "Runs tasks needed to upgrade from 1.5.0 to 2.0.0"
task "execute_release_2.0.0_tasks": [
"db:calculate_tsv",
"polls:set_ends_at_to_end_of_day",
"db:add_schema_search_path"
]
end