Loading bumpversion.sh +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading templates/gitlab-ci-golang.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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" Loading Loading
bumpversion.sh +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
templates/gitlab-ci-golang.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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" Loading