diff --git a/bazel/devbuild/prepare_developer_workspace.sh.in b/bazel/devbuild/prepare_developer_workspace.sh.in index b1fed4b7c..bd3fa53e8 100755 --- a/bazel/devbuild/prepare_developer_workspace.sh.in +++ b/bazel/devbuild/prepare_developer_workspace.sh.in @@ -63,11 +63,11 @@ ln -sf "$(replace_prefix "${host_cache}" "${builder_cache}" "${cdbg}")" "${workd ln -sf "$(replace_prefix "${host_cache}" "${builder_cache}" "${container_sums}")" "${workdir}/container_sums.sha256" ln -sf "$(replace_prefix "${host_cache}" "${builder_cache}" "${cli}")" "${workdir}/constellation" -build_version=$("${workdir}"/constellation version | grep ^Version: | awk '{print $2}') +build_version=$("${cli}" version | grep ^Version: | awk '{print $2}') if [[ ! -f "${workdir}/constellation-conf.yaml" ]]; then echo "constellation-conf.yaml not present in workspace" echo "Build version: ${build_version}" else - $yq -i eval ".microserviceVersion=\"${build_version}\"" ./constellation-conf.yaml + ${yq} -i eval ".microserviceVersion=\"${build_version}\"" ./constellation-conf.yaml echo "Microservice version updated to ${build_version} in constellation-conf.yaml" fi