anchor.diff:  ECHO %REPONAME%: Getting latest release...
   SET UPSTREAMAPIURL=%UPSTREAMURL:github.com=api.github.com/repos%
   powershell -nologo -noprofile -command "try { Invoke-RestMethod -Uri %UPSTREAMAPIURL%/%REPONAME%/releases/latest > latest.json } catch {exit 1}"
  -IF NOT %ERRORLEVEL% == 0 ( ECHO Failed getting latest %REPONAME% release & GOTO exitOnError )
  +IF NOT %ERRORLEVEL% == 0 ( ECHO Failed getting latest %REPONAME% release & EXIT /B 1 )
   REM Get tag for latest release
   FOR /F "tokens=* USEBACKQ" %%F IN (`TYPE latest.json ^| FINDSTR /B "tag_name"`) DO SET TAG=%%F
   FOR /F "tokens=2 delims=: " %%F in ("%TAG%") DO SET TAG=%%F
  -IF "%TAG%"=="" ( ECHO Failed getting latest %REPONAME% release tag information & GOTO exitOnError )
  +IF "%TAG%"=="" ( ECHO Failed getting latest %REPONAME% release tag information & EXIT /B 1 )
   REM Get download name of latest release
   FOR /F "tokens=* USEBACKQ" %%F IN (`TYPE latest.json ^| FINDSTR "name="`) DO SET LIBNAME=%%F
   SET LIBNAME=%LIBNAME:*name=%
   FOR /F "tokens=1 delims=_" %%F in ("%LIBNAME:~1%") DO SET LIBNAME=%%F
  -IF "%LIBNAME%"=="" ( ECHO Failed getting latest %REPONAME% release name information & GOTO exitOnError )
  +IF "%LIBNAME%"=="" ( ECHO Failed getting latest %REPONAME% release name information & EXIT /B 1 )
   DEL /F /Q latest.json
   REM Get the download location for the required tag
   SET TAG2=%TAG:+=.%
  
positive.code: SET CURRDIR=%CD%
  cd %~dp0
  
  cd ..\..
  FOR %%I IN %DEPENDENCIES% DO (
      ECHO !PASSDEPENDENCIES! | FINDSTR /C:"%%I" >NUL 2>&1 || (
          REM Check if MSVC_VER environment variable is set
          IF "%MSVC_VER%"=="" (
              CALL :cloneOrUpdateRepo "%%I"
          ) ELSE (
              CALL :downloadLibs "%%I"
          )
      )
  )
  
negative.code: IF %ERRORLEVEL% == 0 IF "%~1"=="" PAUSE
  
  :return
  EXIT /B %ERROR%