From 2b73548b7aff8a9a0d43725934c552ad25517a02 Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 27 Dec 2024 19:27:51 +1300 Subject: [PATCH] Remove unnecessary parameter --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1e05062..70d3161 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,16 +10,16 @@ pipeline { parallel { stage('Linux') { steps { - sh 'dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true --no-restore --output Linux-x64/' + sh 'dotnet publish -r linux-x64 -c Release -p:PublishTrimmed=true --self-contained true --no-restore --output Linux-x64/' sh 'mv Linux-x64/SupportChild Linux-x64/SupportChild-SC' - sh 'dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true --self-contained false --no-restore --output Linux-x64/' + sh 'dotnet publish -r linux-x64 -c Release --self-contained false --no-restore --output Linux-x64/' } } stage('Windows') { steps { - sh 'dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true --no-restore --output Windows-x64/' + sh 'dotnet publish -r win-x64 -c Release -p:PublishTrimmed=true --self-contained true --no-restore --output Windows-x64/' sh 'mv Windows-x64/SupportChild.exe Windows-x64/SupportChild-SC.exe' - sh 'dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true --self-contained false --no-restore --output Windows-x64/' + sh 'dotnet publish -r win-x64 -c Release --self-contained false --no-restore --output Windows-x64/' } } }