Skip to content

Commit 96f75f5

Browse files
authored
Update build-windows.bat
Avoid fetching the tags when syncing the repository. This can save a decent chunk of time, particularly if it is a fresh clone.
1 parent 41a1761 commit 96f75f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-windows.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ git -C "%source_root%\swift" checkout-index --force --all
120120
@set "skip_repositories_arg=%skip_repositories_arg% --skip-repository tensorflow-swift-apis"
121121
@set "skip_repositories_arg=%skip_repositories_arg% --skip-repository yams"
122122

123-
call "%source_root%\swift\utils\update-checkout.cmd" %scheme_arg% %skip_repositories_arg% --clone --skip-history --github-comment "%ghprbCommentBody%" >NUL 2>NUL
123+
call "%source_root%\swift\utils\update-checkout.cmd" %scheme_arg% %skip_repositories_arg% --clone --skip-history --skip-tags --github-comment "%ghprbCommentBody%" >NUL 2>NUL
124124

125125
goto :eof
126126
endlocal

0 commit comments

Comments
 (0)