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:46:07 UTC
[camel-k] branch main updated: fix(doc): kamelet semver
This is an automated email from the ASF dual-hosted git repository.
pcongiusti 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 ae8fe379e fix(doc): kamelet semver
ae8fe379e is described below
commit ae8fe379ef670091e639e8d43dc5b8cf0033cd61
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