ci: ignore exit code of update-index (#23036)

This commit is contained in:
Jeremy Apthorp 2020-04-09 09:40:46 -07:00 committed by GitHub
parent 80b780f277
commit f4cf23f6ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,7 @@ step-gclient-sync: &step-gclient-sync
# Re-export all the patches to check if there were changes.
python src/electron/script/export_all_patches.py src/electron/patches/config.json
cd src/electron
git update-index --refresh
git update-index --refresh || true
if ! git diff-index --quiet HEAD --; then
# There are changes to the patches. Make a git commit with the updated patches
git add patches