People who have already upgraded to version 1.3.0 don't need to execute them again. We're not deleting the tasks yet in case some people would like to upgrade from version 1.2.0 to version 1.3.1. In this case, they'll have to execute the tasks manually.
15 lines
470 B
Ruby
15 lines
470 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"]
|
|
|
|
desc "Runs tasks needed to upgrade from 1.2.0 to 1.3.0"
|
|
task "execute_release_1.3.0_tasks": [
|
|
"db:load_sdg",
|
|
"db:calculate_tsv",
|
|
"budgets:set_published",
|
|
"budgets:phases_summary_to_description",
|
|
"budgets:add_name_to_existing_phases"
|
|
]
|
|
end
|