Skip to content

Commit

Permalink
Add files to github release
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyShaw committed Jul 8, 2024
1 parent 2121002 commit e3d8e61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -442,12 +442,16 @@ pipeline "Release" {
|> Seq.filter (fun nupkg -> not (nupkg.Contains("Fantomas.Client")))
|> Seq.toArray

let aotCompiledExecutableFiles =
[ "fantomas"; "fantomas.dbg" ]
|> List.map (fun file -> $"artifacts/publish/Fantomas/release_linux-x64/%s{file}")

let! nugetExitCodes = nugetPackages |> Array.map pushPackage |> Async.Sequential

let notes = getReleaseNotes currentRelease lastRelease
let noteFile = Path.GetTempFileName()
File.WriteAllText(noteFile, notes)
let files = nugetPackages |> String.concat " "
let files = [ yield! nugetPackages; yield! aotCompiledExecutableFiles ] |> String.concat " "

// We create a draft release for minor and majors. Those that requires a manual publish.
// This is to allow us to add additional release notes when it makes sense.
Expand Down

0 comments on commit e3d8e61

Please sign in to comment.