ci: clean git before building (#15887)

This commit is contained in:
John Kleinschmidt 2018-11-29 13:52:05 -05:00 committed by Shelley Vohr
parent 5ddc2fb6e7
commit 957ac493e6

View file

@ -6,6 +6,12 @@ steps:
displayName: Skip build on older branch
condition: ne(variables['ELECTRON_RELEASE'], '1')
- bash: |
git clean -fdx
displayName: Clean unneeded git directories
timeoutInMinutes: 2
condition: eq(variables['ELECTRON_RELEASE'], '1')
- bash: |
echo 'Bootstrapping Electron for release build'
script/bootstrap.py --target_arch=$TARGET_ARCH