From aba4e4e4b684b2cefe138bfabccf81a697398057 Mon Sep 17 00:00:00 2001 From: Mutex666 <67550369+Mutex666@users.noreply.github.com> Date: Sat, 13 Jan 2024 18:43:29 +0100 Subject: [PATCH] Update publish scripts and version bump to 4.11.6 --- Source/DCSFlightpanels/DCSFlightpanels.csproj | 2 +- Source/PublishReleaseCTRLREF.ps1 | 4 ++++ Source/PublishReleaseDCSFP.ps1 | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Source/DCSFlightpanels/DCSFlightpanels.csproj b/Source/DCSFlightpanels/DCSFlightpanels.csproj index 53418a103..ae5acdf6a 100644 --- a/Source/DCSFlightpanels/DCSFlightpanels.csproj +++ b/Source/DCSFlightpanels/DCSFlightpanels.csproj @@ -28,7 +28,7 @@ DCSFlightpanels (DCSFP) 1.0.0 - 4.11.5 + 4.11.6 Images\UI\flightpanels02_8Rc_icon.ico diff --git a/Source/PublishReleaseCTRLREF.ps1 b/Source/PublishReleaseCTRLREF.ps1 index d7b1f870c..3acb4ac08 100644 --- a/Source/PublishReleaseCTRLREF.ps1 +++ b/Source/PublishReleaseCTRLREF.ps1 @@ -96,6 +96,10 @@ if ( 0 -ne $buildLastExitCode ) { exit } +#remove 'EmptyFiles' Folder +Write-Host "Removing EmptyFiles folder" -foregroundcolor "Green" +Remove-Item $publishPath\EmptyFiles -Force -Recurse -ErrorAction SilentlyContinue + #Getting file info & remove revision from file_version Write-Host "Getting file info" -foregroundcolor "Green" $file_version = (Get-Command $publishPath\ctrlref.exe).FileVersionInfo.FileVersion diff --git a/Source/PublishReleaseDCSFP.ps1 b/Source/PublishReleaseDCSFP.ps1 index 4b40f6f20..cf0dff569 100644 --- a/Source/PublishReleaseDCSFP.ps1 +++ b/Source/PublishReleaseDCSFP.ps1 @@ -120,6 +120,10 @@ Write-Host "Including SamplePanelEventPlugin.dll(s)" -foregroundcolor "Green" Copy-Item -Path $publishPath\SamplePanelEventPlugin1.dll -Destination $publishPath\Extensions\SamplePanelEventPlugin1.dll Copy-Item -Path $publishPath\SamplePanelEventPlugin2.dll -Destination $publishPath\Extensions\SamplePanelEventPlugin2.dll +#remove 'EmptyFiles' Folder +Write-Host "Removing EmptyFiles folder" -foregroundcolor "Green" +Remove-Item $publishPath\EmptyFiles -Force -Recurse -ErrorAction SilentlyContinue + #Getting file info & remove revision from file_version Write-Host "Getting file info" -foregroundcolor "Green" $file_version = (Get-Command $publishPath\dcsfp.exe).FileVersionInfo.FileVersion