anchor.diff:  #load "paket-files/fsharp/FAKE/modules/Octokit/Octokit.fsx"
   open Octokit
   
  -let readString prompt echo : string =
  -  let rec loop cs =
  -    let key = Console.ReadKey(not echo)
  -    match key.Key with
  -    | ConsoleKey.Backspace -> match cs with
  -                              | [] -> loop []
  -                              | _::cs -> loop cs
  -    | ConsoleKey.Enter -> cs
  -    | _ -> loop (key.KeyChar :: cs)
  -
  -  printf "%s" prompt
  -  let input =
  -    loop []
  -    |> List.rev
  -    |> Array.ofList
  -    |> fun cs -> new String(cs)
  -  if not echo then
  -    printfn ""
  -  input
  -
   Target "Release" (fun _ ->
  +    let user =
  +        match getBuildParam "github-user" with
  +        | s when not (String.IsNullOrWhiteSpace s) -> s
  +        | _ -> getUserInput "Username: "
  +    let pw =
  +        match getBuildParam "github-pw" with
  +        | s when not (String.IsNullOrWhiteSpace s) -> s
  +        | _ -> getUserPassword "Password: "
  +
       StageAll ""
       Git.Commit.Commit "" (sprintf "Bump version to %s" release.NugetVersion)
       Branches.push ""
   
       Branches.tag "" release.NugetVersion
       Branches.pushTag "" "origin" release.NugetVersion
  -
  -    let user = readString "Username: " true
  -    let pw = readString "Password: " false
   
       // release on github
       createClient user pw
  
positive.code: open Fake.ReleaseNotesHelper
  open System
  open System.IO
  open System.Text.RegularExpressions
  
  // Information about the project are used
  //  - for version and project name in generated AssemblyInfo file
  
negative.code: // The name of the project on GitHub
  let gitName = "VisualFSharpPowerTools"
  let cloneUrl = "git@github.com:fsprojects/VisualFSharpPowerTools.git"
  
  // Ensure to use MSBuild 12 for the main solution
  setEnvironVar "MSBuild" (ProgramFilesX86 @@ @"\MSBuild\12.0\Bin\MSBuild.exe")
  
  // Read additional information from the release notes document
  Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
  