From 53d5b3cfccab1cd619249e7f9a30bcb10e70ff74 Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Sun, 14 Apr 2024 18:33:14 +0200 Subject: [PATCH] ci: fix bumpversion regex + latest version --- bumpversion.sh | 2 +- templates/gitlab-ci-golang.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 diff --git a/templates/gitlab-ci-golang.yml b/templates/gitlab-ci-golang.yml index dc0660b..f73e2ee 100644 --- a/templates/gitlab-ci-golang.yml +++ b/templates/gitlab-ci-golang.yml @@ -459,7 +459,7 @@ stages: image: $GO_IMAGE services: - name: "$TBC_TRACKING_IMAGE" - command: ["--service", "golang", "4.7.0" ] + command: ["--service", "golang", "4.9.0"] variables: # The directory where 'go install' will install a command. GOBIN: "$CI_PROJECT_DIR/$GO_PROJECT_DIR/bin" -- GitLab