anchor.diff:      |> Trace.logItems "Copying styles and scripts: "
   
   let buildDocs =  
  -    BuildTask.create "Docs" [cleanDocs; buildAll.IfNeeded; runTestsAll.IfNeeded; buildMono.IfNeeded; runTestsMono.IfNeeded; buildDotnet.IfNeeded] {
  +    BuildTask.create "buildDocs" [cleanDocs; buildAll.IfNeeded; runTestsAll.IfNeeded; buildMono.IfNeeded; runTestsMono.IfNeeded; buildDotnet.IfNeeded] {
           File.delete "docsrc/content/release-notes.md"
           Shell.copyFile "docsrc/content/" "RELEASE_NOTES.md"
           Shell.rename "docsrc/content/release-notes.md" "docsrc/content/RELEASE_NOTES.md"
  
positive.code: 
  //dependencies for cI will be resolved in the CI build task.
  let buildCIPackages name config projectPaths = 
      BuildTask.create (sprintf "BuildCIPackages%s" name) [buildAll.IfNeeded; runTestsAll.IfNeeded; buildMono.IfNeeded; runTestsMono.IfNeeded; buildDotnet.IfNeeded] {
          projectPaths
          |> Seq.iter 
              (fun proj -> 
                  Paket.pack (fun p ->
                      { p with
                          BuildConfig = config
                          TemplateFile = proj </> "paket.template"
                          ToolType = ToolType.CreateLocalTool()
                          OutputPath = pkgDir
                          Version = sprintf "%s-%s" release.NugetVersion buildServerSuffix
                          ReleaseNotes = release.Notes |> String.toLines 
                      }
                  )
              )
      }
  
  let publishNugetPackages = 
      BuildTask.create "PublishNugetPackages" [buildAll; runTestsAll; BuildReleasePackages] {
          Paket.push(fun p ->
              { p with
                  WorkingDir = pkgDir
  
negative.code: //#load "paket-files/fsharp/FAKE/modules/Octokit/Octokit.fsx"
  //open Octokit
  let askForDocReleaseConfirmation =
      BuildTask.create "askForDocReleaseConfirmation" [] {
          match promptYesNo releaseDocsMsg with | true -> () |_ -> failwith "Release canceled"
      }
  let releaseDocsToGhPages = 
      BuildTask.create "releaseDocsToGhPages" [askForDocReleaseConfirmation;generateDocumentation] {
          let tempDocsDir = "temp/gh-pages"
          Shell.cleanDir tempDocsDir |> ignore
          Git.Repository.cloneSingleBranch "" (gitHome + "/" + gitName + ".git") "gh-pages" tempDocsDir
  