Skip to content

Commit

Permalink
Fix the to-local.sh script to handle the version tags like <version>-…
Browse files Browse the repository at this point in the history
…<rc.number> (#8883)
  • Loading branch information
ljkiraly committed Mar 16, 2023
1 parent 2c4dfad commit 3434719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion to-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3434719

Please sign in to comment.