Commit 5143a947 authored by Clement Bois's avatar Clement Bois
Browse files

chore(ci): typo in bumpversion regex

parent 048e10a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ Add the following to your `.gitlab-ci.yml`:
include:
  # 1: include the template
  - project: "to-be-continuous/node"
    ref: "4.0.0"
    ref: "4.0.3"
    file: "/templates/gitlab-ci-node.yml"

variables:
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ if [[ "$curVer" ]]; then
  log_info "Bump version from \\e[33;1m${curVer}\\e[0m to \\e[33;1m${nextVer}\\e[0m (release type: $relType)..."

  # replace in README
  sed -e "s/ref: *'$curVer'/ref: '$nextVer'/" -e "s/ref: *\"$curVer\/ref: \$nextVer\/" -e "s/component: *\(.*\)@$curVer/component: \1@$nextVer/" README.md > README.md.next
  sed -e "s/ref: *'$curVer'/ref: '$nextVer'/" -e "s/ref: *\"$curVer\"/ref: \"$nextVer\"/" -e "s/component: *\(.*\)@$curVer/component: \1@$nextVer/" README.md > README.md.next
  mv -f README.md.next README.md

  # replace in template and variants