So far the method does not take questions nor answers into account. This way we'll be able to search polls in the SDG Management section.
13 lines
415 B
Ruby
13 lines
415 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.3.0_tasks"]
|
|
|
|
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"
|
|
]
|
|
end
|