Use latest tag for the current destination

This commit is contained in:
Donal McBreen
2024-03-29 09:26:36 +00:00
parent bade195e93
commit fb7d9077ff
4 changed files with 9 additions and 5 deletions

View File

@@ -284,6 +284,6 @@ class Kamal::Cli::App < Kamal::Cli::Base
end
def version_or_latest
options[:version] || "latest"
options[:version] || KAMAL.config.latest_tag
end
end