anchor.diff:          Attribute.Company "Elasticsearch"
           Attribute.Configuration "Release"
           Attribute.Version assemblyVersion
  -        Attribute.FileVersion fileVersion
  -        Attribute.InformationalVersion fileVersion
  +        Attribute.FileVersion patchedFileVersion
  +        Attribute.InformationalVersion patchedFileVersion
         ]
       )
   )
  
positive.code:     assemblyVersion
  )
  
  
  Target "Version" (fun _ ->
    trace fileVersion
  
negative.code:       ) 
        (TimeSpan.FromMinutes (if action = "preview" then 300.0 else 5.0))
  
  let suffix = fun (prerelease: PreRelease) -> sprintf "-%s%i" prerelease.Name prerelease.Number.Value
  let getAssemblyVersion = (fun _ ->
      let fv = if fileVersion.Contains("-ci") then (regex_replace "-ci.+$" "" fileVersion) else fileVersion
      traceFAKE "patched fileVersion %s" fv
      let version = SemVerHelper.parse fv
  
      let assemblySuffix = if version.PreRelease.IsSome then suffix version.PreRelease.Value else "";
      let assemblyVersion = sprintf "%i.0.0%s" version.Major assemblySuffix
    
  