We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32fed02 commit 25983fbCopy full SHA for 25983fb
.github/scripts/windows/build.bat
@@ -13,7 +13,7 @@ mkdir "%PHP_BUILD_CACHE_BASE_DIR%"
13
mkdir "%PHP_BUILD_OBJ_DIR%"
14
15
echo Cloning remote SDK repository
16
-git clone -q --branch %SDK_BRANCH% %SDK_REMOTE% --depth 1 "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1
+git clone -q -c advice.detachedHead=false --branch %SDK_BRANCH% %SDK_REMOTE% --depth 1 "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1
17
18
for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a
19
echo Got SDK version %GOT_SDK_VER%
0 commit comments