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 ` --output publish\$runtime `
--configuration Release ` --configuration Release `
--runtime $runtime ` --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> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<AssemblyName>recyclarr</AssemblyName> <AssemblyName>recyclarr</AssemblyName>
<!-- Publish Settings -->
<PublishSingleFile>true</PublishSingleFile>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<PublishReadyToRunComposite>true</PublishReadyToRunComposite>
<PublishReadyToRunShowWarnings>true</PublishReadyToRunShowWarnings>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

Loading…
Cancel
Save