diff --git a/jenkins/scripts/release-tools/functions b/jenkins/scripts/release-tools/functions index c8c281b6be..fb4d8fe2b1 100644 --- a/jenkins/scripts/release-tools/functions +++ b/jenkins/scripts/release-tools/functions @@ -81,7 +81,7 @@ function update_upper_constraints { echo "Updating tox.ini for upper-constraints" git checkout $branch - sed -i~ -e "s,-c.*{\(env:UPPER_CONSTRAINTS_FILE\)[^ ]*} ,-c{\1:$uc_url}," tox.ini + sed -i~ -e "s,-c.*{\(env:UPPER_CONSTRAINTS_FILE\)[^ ]*},-c{\1:$uc_url}," tox.ini if ! git diff --exit-code >/dev/null 2>&1 ; then git add tox.ini git commit -m "Update UPPER_CONSTRAINTS_FILE for $branch"