Update build to capture net7.0 directories

This commit is contained in:
Daniel J. Summers 2023-02-20 21:37:26 -05:00
parent 1562699c37
commit d1f3442118

View File

@ -38,7 +38,7 @@ let publishFor rid (_ : TargetParameter) =
/// Package published output for the given runtime ID /// Package published output for the given runtime ID
let packageFor (rid : string) (_ : TargetParameter) = let packageFor (rid : string) (_ : TargetParameter) =
let path = $"{projectPath}/bin/Release/net6.0/{rid}/publish" let path = $"{projectPath}/bin/Release/net7.0/{rid}/publish"
let prodSettings = $"{path}/appsettings.Production.json" let prodSettings = $"{path}/appsettings.Production.json"
if File.exists prodSettings then File.delete prodSettings if File.exists prodSettings then File.delete prodSettings
[ !! $"{path}/**/*" [ !! $"{path}/**/*"