build: fix linux release builds on CircleCI (#18201)

This commit is contained in:
Shelley Vohr 2019-05-08 07:27:03 -07:00 committed by John Kleinschmidt
parent 6770a8c64a
commit 6e29611788

View file

@ -189,8 +189,11 @@ step-get-more-space-on-mac: &step-get-more-space-on-mac
step-delete-git-directories: &step-delete-git-directories
run:
name: Delete src/.git directory
command: sudo rm -rf src/.git
name: Delete src/.git directory on MacOS to free space
command: |
if [ "`uname`" == "Darwin" ]; then
sudo rm -rf src/.git
fi
# On macOS the npm install command during gclient sync was run on a linux
# machine and therefore installed a slightly different set of dependencies