ci: Move publish properties to ps1

Moving these out allows custom `dotnet publish` commands to be run, such
as creating a portable build without having to specify --runtime.
pull/76/head
Robert Dailey 2 years ago
parent d499537f91
commit c593675f3d

@ -10,4 +10,9 @@ dotnet publish src\Recyclarr `
--output publish\$runtime `
--configuration Release `
--runtime $runtime `
--self-contained true
--self-contained true `
-p:PublishSingleFile=true `
-p:IncludeNativeLibrariesForSelfExtract=true `
-p:PublishReadyToRunComposite=true `
-p:PublishReadyToRunShowWarnings=true `
-p:EnableCompressionInSingleFile=true

@ -2,13 +2,6 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<AssemblyName>recyclarr</AssemblyName>
<!-- Publish Settings -->
<PublishSingleFile>true</PublishSingleFile>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<PublishReadyToRunComposite>true</PublishReadyToRunComposite>
<PublishReadyToRunShowWarnings>true</PublishReadyToRunShowWarnings>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
</PropertyGroup>
<ItemGroup>

Loading…
Cancel
Save