This is an automated email from the ASF dual-hosted git repository.
gansheer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new 79e6f7185 ci: Update docs set the last release
79e6f7185 is described below
commit 79e6f71858bc581eecc7aed9631b520777de6044
Author: Gaelle Fournier <[email protected]>
AuthorDate: Fri Aug 14 11:21:29 2026 +0200
ci: Update docs set the last release
---
docs/antora.yml | 4 ++--
script/update_docs.sh | 10 ++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/docs/antora.yml b/docs/antora.yml
index ecc4794b1..1bc6da7f1 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -26,7 +26,7 @@ asciidoc:
attributes:
requires: "'util=camel-website-util,ck=xref:js/ck.js'"
prerelease: true
- last-released-version: 2.10.0
+ last-released-version: 2.10.1
camel-k-runtime-version: 3.15.3
camel-api-versions: camel.apache.org/v1 # from Makefile BUNDLE_CAMEL_APIS
camel-version: 4.18.0
@@ -40,4 +40,4 @@ asciidoc:
operator-fwk-api-version: 0.45.0
knative-api-version: 0.50.0
service-binding-op-version: ""
- prometheus-op-version: 0.93.0
+ prometheus-op-version: 0.93.1
diff --git a/script/update_docs.sh b/script/update_docs.sh
index be817b378..f5f5a8540 100755
--- a/script/update_docs.sh
+++ b/script/update_docs.sh
@@ -17,6 +17,16 @@
location=$(dirname $0)
+echo "Scraping information from Makefile"
+LAST_RELEASED_VERSION=$(grep '^LAST_RELEASED_VERSION ?= '
$location/../Makefile | sed 's/^.* \?= //')
+KUSTOMIZE_VERSION=$(grep '^KUSTOMIZE_VERSION := ' $location/../Makefile | sed
's/^.* \?= //' | sed 's/^.//')
+
+echo "Camel K latest version: $LAST_RELEASED_VERSION"
+echo "Kustomize version: $KUSTOMIZE_VERSION"
+
+yq -i ".asciidoc.attributes.last-released-version =
\"$LAST_RELEASED_VERSION\"" $location/../docs/antora.yml
+yq -i ".asciidoc.attributes.kustomize-version = \"$KUSTOMIZE_VERSION\""
$location/../docs/antora.yml
+
echo "Scraping information from go.mod"
KNATIVE_API_VERSION=$(grep '^.*knative.dev/eventing ' $location/../go.mod |
sed 's/^.* //' | sed 's/^.//')
KUBE_API_VERSION=$(grep '^.*k8s.io/api ' $location/../go.mod | sed 's/^.* //'
| sed 's/^.//')