These tasks are not needed for new installations, and in existing installations they've already been executed when upgrading to version 1.5.0.
13 lines
435 B
Ruby
13 lines
435 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_1.6.0_tasks"]
|
|
|
|
desc "Runs tasks needed to upgrade from 1.5.0 to 1.6.0"
|
|
task "execute_release_1.6.0_tasks": [
|
|
"db:calculate_tsv",
|
|
"polls:set_ends_at_to_end_of_day"
|
|
]
|
|
end
|