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 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