anchor.diff:  
   goto:eof
   
  -:build_error
  +:build_error 
   %OUTPUT% "Error building Windows"
   EXIT /B 1
  +
  +:check_ci 
  +for /f %%i in ('git -C %GOPATH%\src\github.com\keybase\client rev-parse --short HEAD') do set clientCommit=%%i
  +for /f %%i in ('git -C %GOPATH%\src\github.com\keybase\kbfs rev-parse --short HEAD') do set kbfsCommit=%%i
  +echo [%clientCommit%] [%kbfsCommit%]
  +:: need GITHUB_TOKEN
  +pushd %GOPATH%\src\github.com\keybase\release
  +go build || goto:build_error || EXIT /B 1
  +release wait-ci --repo="client" --commit="%clientCommit%" --context="continuous-integration/jenkins/branch" --context="ci/circleci"  || goto:ci_error
  +release wait-ci --repo="kbfs" --commit="%kbfsCommit%" --context="continuous-integration/jenkins/branch" --context="ci/circleci"  || goto:ci_error
  +popd
  +EXIT /B 0
  +
  +:ci_error 
  +%OUTPUT% "CI Failure building Windows"
  +EXIT /B 1
positive.code: signtool verify /all /kp /v Win10_Sys | find "Issued to: Microsoft Windows Hardware Compatibility Publisher"
  IF %ERRORLEVEL% NEQ 0 goto:build_error || EXIT /B 1
  
  :donechecking
  
  call:checkout_keybase client, %ClientRevision% || goto:build_error || EXIT /B 1
  call:checkout_keybase kbfs, %KBFSRevision% || goto:build_error || EXIT /B 1
  
negative.code: call:checkout_keybase release, %ReleaseRevision% || goto:build_error || EXIT /B 1
  
  ::wait for CI
  if [%UpdateChannel%] == [SmokeCI] call:check_ci  || EXIT /B 1
  
  :done_ci
  
  