build: fix linux release builds on CircleCI (#18201)
This commit is contained in:
parent
6770a8c64a
commit
6e29611788
1 changed files with 5 additions and 2 deletions
|
@ -189,8 +189,11 @@ step-get-more-space-on-mac: &step-get-more-space-on-mac
|
||||||
|
|
||||||
step-delete-git-directories: &step-delete-git-directories
|
step-delete-git-directories: &step-delete-git-directories
|
||||||
run:
|
run:
|
||||||
name: Delete src/.git directory
|
name: Delete src/.git directory on MacOS to free space
|
||||||
command: sudo rm -rf src/.git
|
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
|
# On macOS the npm install command during gclient sync was run on a linux
|
||||||
# machine and therefore installed a slightly different set of dependencies
|
# machine and therefore installed a slightly different set of dependencies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue