anchor.diff:                  retryIfInCI (times - 1) fn
           else
               fn ()
  -    else fn ()
  +    else
  +        fn ()
   
   let isOnCI () =
  -    if isCI.Value |> not then failwith "Not in CI"
  +    if not isCI.Value then
  +        failwith "Not on CI. If you want to publish, please use CI."
  +
  +let isReleaseBranchCheck () =
  +    if Git.Information.getBranchName "" <> releaseBranch then
  +        failwithf "Not on %s.  If you want to release please switch to this branch." releaseBranch
  +
   module Changelog =
   
       let isEmptyChange =
  
positive.code: //         |> failOnBadExitAndPrint
  
  let allReleaseChecks () =
      isOnCI ()
      Changelog.isChangelogEmpty ()
  
  
negative.code: // let watchDocs _ = DocsTool.watch ()
  
  let releaseDocs ctx =
      isReleaseBranchCheck () // 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)
  