Merge "Fix update_upper_constraints removing additional ' ' char"
This commit is contained in:
commit
2a89d5a2d4
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user