Closed TheAngryByrd closed 1 year ago
Looks like you missed isRelease
function modification (at least in this instructions, not sure about your repos). I guess, isRelease
should looks like following to publish packages builded in Release
mode.
let isRelease (targets : Target list) =
targets
|> Seq.map(fun t -> t.Name)
|> Seq.exists (fun name -> name = "Release" || name = "Publish")
Is your feature request related to a problem? Please describe.
I've moved a few projects like Marten.FSharp and IcedTasks to publish from github actions. I'm starting to prefer it and might be good to set as default.
Describe the solution you'd like
Need to update fake in the following ways: a. Change the set of targets to have a "Release" and a "Publish" target. Release will handle the Changelog and Git tag, Publish will handle the packaging, publish to nuget, and github release.
b. fix the changelog diff link, as
linkReferenceForLatestEntry
won't be generated once,, need to be mutable anymore and can just be remade on demand inmkReleaseNotes
c. Fix prerelease changes
d. Create an
allPublishChecks
and update GithubRelease and PublishToNuget to use ite. Figure out where docs fits in this this.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.