This is an automated email from the ASF dual-hosted git repository.
oscerd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new ad7a43e5588c fix(jbang): update container image-check to match renamed
CLI version output (#24530)
ad7a43e5588c is described below
commit ad7a43e5588c6323216801aa01a8090ef385c47c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jul 8 23:04:28 2026 +0200
fix(jbang): update container image-check to match renamed CLI version
output (#24530)
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