File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,11 +105,11 @@ let private createReleaseOnGithub (arguments:ParseResults<Arguments>) =
105
105
| Some token -> [ " --token" ; token;]
106
106
let releaseNotes = Paths.RootRelative <| Path.Combine( Paths.Output.FullName, sprintf " release-notes-%s .md" currentVersion)
107
107
let breakingChanges =
108
- let file = Path.Combine ( Paths.Output.FullName , " github- breaking-changes-comments .md" )
109
- let relativeFile = Paths.RootRelative <| file
110
- match File.Exists file with
111
- | true -> [ " --body " ; relativeFile ]
112
- | false -> []
108
+ let breakingChangesDocs = Paths.Output.GetFiles ( " breaking-changes-* .md" )
109
+ breakingChangesDocs
110
+ |> Seq.map ( fun f -> [ " --body " ; Paths.RootRelative f.FullName ])
111
+ |> Seq.collect id
112
+ |> Seq.toList
113
113
let releaseArgs =
114
114
( Paths.Repository.Split( " /" ) |> Seq.toList)
115
115
@ [ " create-release"
You can’t perform that action at this time.
0 commit comments