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 0ac27783b chore(ci): kamelets project versioning
0ac27783b is described below

commit 0ac27783bde3d70c719b5f143c9693f9cce72cc7
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Sat Apr 4 10:26:00 2026 +0200

    chore(ci): kamelets project versioning
    
    Closes #6345
---
 script/clone_kamelets.sh | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/script/clone_kamelets.sh b/script/clone_kamelets.sh
index f597a365a..ecfb712a9 100755
--- a/script/clone_kamelets.sh
+++ b/script/clone_kamelets.sh
@@ -16,17 +16,15 @@
 # limitations under the License.
 
 location=$(dirname $0)
-
-GO111MODULE=on
+KAMELET_VERSION="v4.18.1"
 
 # Entering the api module
 cd $location/../pkg/apis/camel/v1
 
 echo "Cloning Kamelets from apache-kamelets repository..."
 
-# TODO: use a fixed tag instad of main starting from apache kamelets 4.15.0 
release
-wget -q -O kamelet_types.go  
https://raw.githubusercontent.com/apache/camel-kamelets/refs/heads/main/crds/pkg/apis/camel/v1/kamelet_types.go
-wget -q -O kamelet_types_support.go  
https://raw.githubusercontent.com/apache/camel-kamelets/refs/heads/main/crds/pkg/apis/camel/v1/kamelet_types_support.go
+wget -q -O kamelet_types.go  
https://raw.githubusercontent.com/apache/camel-kamelets/refs/tags/$KAMELET_VERSION/crds/pkg/apis/camel/v1/kamelet_types.go
+wget -q -O kamelet_types_support.go  
https://raw.githubusercontent.com/apache/camel-kamelets/refs/tags/$KAMELET_VERSION/crds/pkg/apis/camel/v1/kamelet_types_support.go
 
 # Add a short autogen comment here
 comment="// DO NOT EDIT: this file was automatically copied from 
apache/camel-kamelets/crds project"

Reply via email to