Publish command project

This commit is contained in:
Jack251970 2025-06-13 23:19:03 +08:00
parent 7930d57c91
commit 8dd9b9c963

View file

@ -104,6 +104,12 @@ function Publish-Self-Contained ($p) {
# we call dotnet publish on the main project.
# The other projects should have been built in Release at this point.
dotnet publish -c Release $csproj /p:PublishProfile=$profile
$command_csproj = Join-Path "$p" "Flow.Launcher.Command/Flow.Launcher.Command.csproj" -Resolve
$command_profile = Join-Path "$p" "Flow.Launcher.Command/Properties/PublishProfiles/Net7.0-SelfContained.pubxml" -Resolve
# we call dotnet publish on the command project.
dotnet publish -c Release $command_profile /p:PublishProfile=$profile
}
function Publish-Portable ($outputLocation, $version) {