anchor.diff:    StageAll tempDocsDir
     Git.Commit.Commit tempDocsDir (sprintf "Update generated documentation for version %s" release.NugetVersion)
     Branches.push tempDocsDir)
  -
  -#load "paket-files/fsharp/FAKE/modules/Octokit/Octokit.fsx"
  -open Octokit
  -
  -Target "Release" (fun _ ->
  -  StageAll ""
  -  Git.Commit.Commit "" (sprintf "Bump version to %s" release.NugetVersion)
  -  Branches.push ""
  -
  -  Branches.tag "" release.NugetVersion
  -  Branches.pushTag "" "origin" release.NugetVersion
  -
  -  // release on github
  -  createClient (getBuildParamOrDefault "github-user" "") (getBuildParamOrDefault "github-pw" "")
  -  |> createDraft gitOwner gitName release.NugetVersion (release.SemVer.PreRelease <> None) release.Notes
  -  //TODO: |> uploadFile ("bin/fszmq-" + release.NugetVersion + ".zip")
  -  |> releaseDraft
  -  |> Async.RunSynchronously)
   
   // --------------------------------------------------------------------------------------
   // Run all targets by default. Invoke 'build <Target>' to override
  
positive.code:   ==> "Build"
    ==> "CopyBinaries"
    ==> "RunTests"
    ==> "GenerateDocs"
    ==> "All"
    =?> ("ReleaseDocs",isLocalBuild)
  
  "All"
    ==> "Archive"
    ==> "NuGet"
    ==> "BuildPackage"
  
  "CleanDocs"
    ==> "GenerateHelp"
    ==> "GenerateRefDocs"
    ==> "GenerateDocs"
  
  "CopyBinaries"
    ==> "CleanDocs"
  
negative.code: // --------------------------------------------------------------------------------------
  // Release Scripts
  
  Target "ReleaseDocs" (fun _ ->
    let tempDocsDir = "temp/gh-pages"
    CleanDir tempDocsDir
  