From 9c2bc62ae076d86da7732cace6afc93c0a1c9e8a Mon Sep 17 00:00:00 2001 From: Laszlo Kiraly Date: Thu, 16 Mar 2023 14:03:36 +0100 Subject: [PATCH] Fix the to-local.sh script to handle the version tags like - (#8883) Signed-off-by: Laszlo Kiraly --- to-local.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/to-local.sh b/to-local.sh index 2effa926c824..f2eb1082cabb 100755 --- a/to-local.sh +++ b/to-local.sh @@ -24,5 +24,5 @@ done grep 'github.com\/networkservicemesh\/deployments-k8s' -rl examples/* | while IFS= read -r file; do root="$(get_root "$file")" - sedi -E "s/(https:\/\/)?github.com\/networkservicemesh\/deployments-k8s\/(.*)\?ref=[a-z0-9.]*/${root}\/\2/g" "${file}" + sedi -E "s/(https:\/\/)?github.com\/networkservicemesh\/deployments-k8s\/(.*)\?ref=[a-z0-9.\-]*/${root}\/\2/g" "${file}" done