Update build to capture net7.0 directories
This commit is contained in:
parent
1562699c37
commit
d1f3442118
2
build.fs
2
build.fs
|
@ -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}/**/*"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user