Skip to content

Commit e3d8e61

Browse files
committed
Add files to github release
1 parent 2121002 commit e3d8e61

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.fsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -442,12 +442,16 @@ pipeline "Release" {
442442
|> Seq.filter (fun nupkg -> not (nupkg.Contains("Fantomas.Client")))
443443
|> Seq.toArray
444444

445+
let aotCompiledExecutableFiles =
446+
[ "fantomas"; "fantomas.dbg" ]
447+
|> List.map (fun file -> $"artifacts/publish/Fantomas/release_linux-x64/%s{file}")
448+
445449
let! nugetExitCodes = nugetPackages |> Array.map pushPackage |> Async.Sequential
446450

447451
let notes = getReleaseNotes currentRelease lastRelease
448452
let noteFile = Path.GetTempFileName()
449453
File.WriteAllText(noteFile, notes)
450-
let files = nugetPackages |> String.concat " "
454+
let files = [ yield! nugetPackages; yield! aotCompiledExecutableFiles ] |> String.concat " "
451455

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

0 commit comments

Comments
 (0)