From 2b88f6dd2dffa9db3f920a12ee8881c7433fdb34 Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Tue, 27 Dec 2022 17:36:38 +0800 Subject: [PATCH] dist: replace all '-' with '.' Upstream: no There is a code error that only first '-' is converted to '.'. Fix it. Signed-off-by: Kairui Song --- dist/scripts/lib-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/scripts/lib-version.sh b/dist/scripts/lib-version.sh index 2386a3054..2e5032df2 100755 --- a/dist/scripts/lib-version.sh +++ b/dist/scripts/lib-version.sh @@ -235,7 +235,7 @@ _get_rel_info_from_tag() { fi if [[ $rel ]]; then - echo "${rel/-/.}" + echo "${rel//-/.}" fi }