Commit 3a3f76d0 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci: fix bumpversion regex + latest version

parent 883b5e81
Loading
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:
defectdojo:
  services:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "defectdojo", "2.5.1" ]
      command: ["--service", "defectdojo", "2.6.2"]
    - name: "$TBC_VAULT_IMAGE"
      alias: "vault-secrets-provider"
  variables:
+1 −1
Original line number Diff line number Diff line
@@ -833,7 +833,7 @@ defectdojo:
    entrypoint: [""]
  services:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "defectdojo", "2.5.1" ]
      command: ["--service", "defectdojo", "2.6.2"]
  stage: .post
  before_script:
    - cd ${DEFECTDOJO_DIR}