Commit c8c532a0 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Use shallow clone for binary artifacts

The repo is deleted anyway right after the files are copied.

Change-Id: Iec4ae3ca45e94c95a911f245bded36025d3f799b
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 8728fb07
......@@ -119,7 +119,8 @@ macx {
deployqt.depends = install
win32 {
deployartifacts.depends = install
deployartifacts.commands = git clone "http://code.qt.io/qt-creator/binary-artifacts.git" -b $$BINARY_ARTIFACTS_BRANCH \
deployartifacts.commands = git clone --depth 1 -b $$BINARY_ARTIFACTS_BRANCH \
"http://code.qt.io/qt-creator/binary-artifacts.git" \
&& xcopy /s /q /y /i "binary-artifacts\\win32" \"$(INSTALL_ROOT)$$QTC_PREFIX\" \
&& rmdir /s /q binary-artifacts
QMAKE_EXTRA_TARGETS += deployartifacts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment