Replace stub value

This commit is contained in:
David Heinemeier Hansson
2023-02-03 13:20:10 +01:00
parent 8024949fe7
commit fadb73da39

View File

@@ -7,7 +7,7 @@ module Mrsk::Commands::Concerns
def current_running_version def current_running_version
# FIXME: Find more graceful way to extract the version from "app-version" than using sed and tail! # FIXME: Find more graceful way to extract the version from "app-version" than using sed and tail!
pipe \ pipe \
docker(:ps, "--filter", "label=service=hey", "--format", '"{{.Names}}"'), docker(:ps, "--filter", "label=service=#{config.service}", "--format", '"{{.Names}}"'),
"sed 's/-/\n/g'", "sed 's/-/\n/g'",
"tail -n 1" "tail -n 1"
end end