From f4d9350569306961e7b9ec5bb7fe52730a15fe7f Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Sun, 14 Apr 2024 18:32:50 +0200 Subject: [PATCH] ci: fix bumpversion regex --- bumpversion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumpversion.sh b/bumpversion.sh index ed44d7b..329e866 100755 --- a/bumpversion.sh +++ b/bumpversion.sh @@ -33,7 +33,7 @@ if [[ "$curVer" ]]; then # replace in template and variants for tmpl in templates/*.yml do - sed -e "s/command: *\[\"--service\", \"\(.*\)\", \"$curVer\"\]/command: [\"--service\", \"\1\", \"$nextVer\"]/" "$tmpl" > "$tmpl.next" + sed -e "s/command: *\[ *\"--service\", *\"\(.*\)\", *\"$curVer\" *\]/command: [\"--service\", \"\1\", \"$nextVer\"]/" "$tmpl" > "$tmpl.next" mv -f "$tmpl.next" "$tmpl" done else -- GitLab