ci: canonicalize release SSH command
All checks were successful
State Corp Backend CI/CD / Quality gate (push) Successful in 4m5s
State Corp Backend CI/CD / Build linux/amd64 images once (push) Successful in 4m33s
State Corp Backend CI/CD / Refresh and release internal main (push) Has been skipped
State Corp Backend CI/CD / Release customer main (push) Has been skipped
State Corp Backend CI/CD / Release dev (push) Successful in 1m2s

This commit is contained in:
2026-08-27 14:08:54 +03:00
parent e060c36b6d
commit b2a45aef51
2 changed files with 9 additions and 2 deletions

View File

@@ -133,6 +133,7 @@ if [[ "${refresh_data}" == true ]]; then
remote_args+=(--refresh-data)
fi
printf -v remote_command '%q ' "${release_service_path}" "${remote_args[@]}"
remote_command="${remote_command% }"
# The command is deliberately assembled and validated on the client.
# shellcheck disable=SC2029