1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Change requirement instead of appending new one.

This commit is contained in:
Felix Fontein 2021-08-29 00:15:11 +02:00
parent fe38f52ae0
commit e29cdbe0fe

View file

@ -23,7 +23,7 @@ esac
ansible-test env --timeout "${timeout}" --color -v
if [ "$2" == "2.10" ]; then
echo "python-gitlab < 2.10.1 ; python_version >= '3.6'" >> tests/unit/requirements.txt
sed -i -E 's/^python-gitlab($| .*)/python-gitlab < 2.10.1 ; python_version >= '3.6'/g' tests/unit/requirements.txt
fi
# shellcheck disable=SC2086