From 694006933755729db742858aabf660fc9388720c Mon Sep 17 00:00:00 2001 From: Naveen Valecha Date: Sun, 30 Jun 2024 17:18:20 +0530 Subject: [PATCH] mdt-29913: Hotfix for google library. --- assets/github-actions/scripts/build.sh | 4 ++++ assets/misc/gitignore | 3 +++ 2 files changed, 7 insertions(+) diff --git a/assets/github-actions/scripts/build.sh b/assets/github-actions/scripts/build.sh index 3103104..f8f0265 100755 --- a/assets/github-actions/scripts/build.sh +++ b/assets/github-actions/scripts/build.sh @@ -148,6 +148,10 @@ cd $FOLDER_GITHUB # Swap out .git folders cp -r "${FOLDER_HOSTING}/.git" . +# Hotfix for #29913 +echo "vendor/google/* binary" >> .gitattributes +echo "vendor/google/**/* binary" >> .gitattributes + # Commit new artefact. git add -A . git commit -m "${commitmessage}" -m "GitHub build of ${BRANCHNAME} (${BRANCHNAME_HOSTING}) @ ${shalite}." --no-gpg-sign diff --git a/assets/misc/gitignore b/assets/misc/gitignore index e3ecb27..0b4af78 100644 --- a/assets/misc/gitignore +++ b/assets/misc/gitignore @@ -101,3 +101,6 @@ public.key /tests/backstop/backstop_data/bitmaps_test /tests/backstop/backstop_data/ci_report /tests/backstop/backstop_data/html_report + +#Ignore Google Application credentials. +google_application_credentials.json