Boot latest version when upgrading proxy

This commit is contained in:
Donal McBreen
2024-09-06 12:22:57 +01:00
parent f347ef7e44
commit 9c2d5f83f7

View File

@@ -88,7 +88,7 @@ class Kamal::Cli::Proxy < Kamal::Cli::Base
invoke "kamal:cli:proxy:boot", [], invoke_options.merge("hosts" => host_list)
reset_invocation(Kamal::Cli::Proxy)
invoke "kamal:cli:app:boot", [], invoke_options.merge("hosts" => host_list)
invoke "kamal:cli:app:boot", [], invoke_options.merge("hosts" => host_list, version: KAMAL.config.latest_tag)
reset_invocation(Kamal::Cli::App)
invoke "kamal:cli:prune:all", [], invoke_options.merge("hosts" => host_list)
reset_invocation(Kamal::Cli::Prune)