This is an automated email from the ASF dual-hosted git repository. oscerd pushed a commit to branch fix/camel-jbang-container-version-check in repository https://gitbox.apache.org/repos/asf/camel.git
commit c9df84105815acbb5546468a1dab86aaa14e5ebf Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Jul 8 15:44:42 2026 +0200 fix(jbang): update container image-check to match renamed CLI version output The Camel CLI `version` command now prints "Camel CLI version:" instead of "Camel JBang version:". Update the sed pattern in both the default and per-arch image-check targets so the version extraction works again. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> --- dsl/camel-jbang/camel-jbang-container/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-container/Makefile b/dsl/camel-jbang/camel-jbang-container/Makefile index 6e357b45e071..6eda40a40f7b 100644 --- a/dsl/camel-jbang/camel-jbang-container/Makefile +++ b/dsl/camel-jbang/camel-jbang-container/Makefile @@ -97,12 +97,12 @@ images-check-all: image-check: @echo "####### Checking Camel JBang (CLI) $(IMAGE_CHECK) container image..." @EXPECTED="$(CAMEL_VERSION)"; \ - ACTUAL=$$(docker run --rm $(IMAGE_CHECK) version | sed -n 's/^Camel JBang version: //p'); \ + ACTUAL=$$(docker run --rm $(IMAGE_CHECK) version | sed -n 's/^Camel CLI version: //p'); \ test "$$ACTUAL" = "$$EXPECTED" @for arch in $(ARCH_VERSIONS); do \ echo "####### Checking $$arch"; \ EXPECTED="$(CAMEL_VERSION)"; \ ACTUAL=$$(docker run --rm --platform linux/$$arch $(IMAGE_CHECK) version | \ - sed -n 's/^Camel JBang version: //p'); \ + sed -n 's/^Camel CLI version: //p'); \ test "$$ACTUAL" = "$$EXPECTED" || exit 1; \ done
