Commit f5097c28 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci: fix bumpversion regex + latest version

parent ea62e9b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ variables:
.tf-base:
  services:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "terraform", "5.3.0" ]
      command: ["--service", "terraform", "5.4.8"]
    - name: "$TBC_VAULT_IMAGE"
      alias: "vault-secrets-provider"
  variables:
+1 −1
Original line number Diff line number Diff line
@@ -968,7 +968,7 @@ stages:
    entrypoint: [""]
  services:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "terraform", "5.3.0" ]
      command: ["--service", "terraform", "5.4.8"]
  before_script:
    # set environment context (before unscope_variables)
    - export environment_type=$ENV_TYPE