Skip to content

Commit 8dd9b9c

Browse files
committed
Publish command project
1 parent 7930d57 commit 8dd9b9c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Scripts/post_build.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ function Publish-Self-Contained ($p) {
104104
# we call dotnet publish on the main project.
105105
# The other projects should have been built in Release at this point.
106106
dotnet publish -c Release $csproj /p:PublishProfile=$profile
107+
108+
$command_csproj = Join-Path "$p" "Flow.Launcher.Command/Flow.Launcher.Command.csproj" -Resolve
109+
$command_profile = Join-Path "$p" "Flow.Launcher.Command/Properties/PublishProfiles/Net7.0-SelfContained.pubxml" -Resolve
110+
111+
# we call dotnet publish on the command project.
112+
dotnet publish -c Release $command_profile /p:PublishProfile=$profile
107113
}
108114

109115
function Publish-Portable ($outputLocation, $version) {

0 commit comments

Comments
 (0)