You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/03/09 08:50:57 UTC

[camel-k] 01/02: fix(doc): kamelet semver

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch release-1.12.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 26d4a4f4723e9cd8b639e5337caeb51781afccdf
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Mar 9 09:41:59 2023 +0100

    fix(doc): kamelet semver
---
 script/update_docs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/update_docs.sh b/script/update_docs.sh
index 78af2a302..11281e486 100755
--- a/script/update_docs.sh
+++ b/script/update_docs.sh
@@ -33,7 +33,7 @@ if [[ "$KAMELET_CATALOG_REPO_TAG" == "main" ]]; then
     KAMELETS_VERSION="latest"
     KAMELETS_DOCS_VERSION="next"
 else
-    re="^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)$"
+    re="^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+).*$"
     if ! [[ $KAMELETS_VERSION =~ $re ]]; then
         echo "❗ argument must match semantic version: $KAMELETS_VERSION"
         exit 1