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/07/25 12:24:46 UTC
[camel-k] branch main updated: fix(ci): update default runtime
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 3dc1da352 fix(ci): update default runtime
3dc1da352 is described below
commit 3dc1da3524669f1a4a433a4600209ac692ca7a7a
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Jul 25 14:23:11 2023 +0200
fix(ci): update default runtime
---
script/update_default_camel.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script/update_default_camel.sh b/script/update_default_camel.sh
index ef4179512..bb6bc7363 100755
--- a/script/update_default_camel.sh
+++ b/script/update_default_camel.sh
@@ -25,7 +25,7 @@ rm -rf /tmp/camel-k-runtime
git clone --depth 1 https://github.com/apache/camel-k-runtime.git /tmp/camel-k-runtime
ck_runtime_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout -f /tmp/camel-k-runtime/pom.xml)
echo "INFO: last Camel K runtime version set at $ck_runtime_version"
-sed -i "s/^RUNTIME_VERSION := .*$/RUNTIME_VERSION := $ck_runtime_version/" $location/Makefile
+sed -i "s/^DEFAULT_RUNTIME_VERSION := .*$/DEFAULT_RUNTIME_VERSION := $ck_runtime_version/" $location/Makefile
camel_version=$(grep -oPm1 "(?<=<camel-version>)[^<]+" /tmp/camel-k-runtime/pom.xml)
rm -rf /tmp/camel-kamelets