CI: set git email such that the gitlab avatar is detected correctly

This commit is contained in:
Marcus Hoffmann 2020-06-04 20:26:31 +02:00
parent 3f91605624
commit ffaee55b36

View file

@ -72,7 +72,7 @@ checkupdates:
| tar -xz --directory=fdroidserver --strip-components=1
- export PATH="$PWD/fdroidserver:$PATH"
- touch config.py
- git config --global user.email "team@f-droid.org"
- git config --global user.email "fdroidci@bubu1.eu"
- git config --global user.name "F-Droid checkupdates bot"
- url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
- git remote set-url origin "https://gitlab-ci-token:${CI_GIT_PUSH_TOKEN}@${url_host}"