anchor.diff:                  retryIfInCI (times - 1) fn
           else
               fn ()
  -    | _ -> fn ()
  -
  -let isReleaseBranchCheck () =
  -    if Git.Information.getBranchName "" <> releaseBranch then
  -        failwithf "Not on %s.  If you want to release please switch to this branch." releaseBranch
  -
  +    else fn ()
  +
  +let isOnCI () =
  +    if isCI.Value |> not then failwith "Not in CI"
   module Changelog =
   
       let isEmptyChange =
  
positive.code: 
  let gitHubRepoUrl = sprintf "https://github.com/%s/%s" gitOwner gitRepoName
  
  let releaseBranch = "master"
  
  let tagFromVersionNumber versionNumber = sprintf "v%s" versionNumber
  
  
negative.code: // let watchDocs _ = DocsTool.watch ()
  
  let releaseDocs ctx =
      isOnCI () // Docs changes don't need a full release to the library
  
      Git.Staging.stageAll docsDir
      Git.Commit.exec "" (sprintf "Documentation release of version %s" latestEntry.NuGetVersion)
  