From 4c032d47064d5c6d921a0482b3453bb222246825 Mon Sep 17 00:00:00 2001 From: laqieer Date: Mon, 26 Aug 2024 15:28:48 +0800 Subject: [PATCH] Ignore `config/etc` & `config/log` when release --- release.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/release.ps1 b/release.ps1 index a711cb0a2..0c4867ff2 100644 --- a/release.ps1 +++ b/release.ps1 @@ -1,8 +1,11 @@ $folder = "r\" if (!(Test-Path $folder)) { New-Item -ItemType Directory -Path $folder + New-Item -ItemType Directory -Path $folder\config + New-Item -ItemType Directory -Path $folder\config\etc + New-Item -ItemType Directory -Path $folder\config\log } Copy-Item -Force "FEBuilderGBA\bin\Release\FEBuilderGBA.exe" $folder Copy-Item -Force "FEBuilderGBA\bin\Debug\7-zip32.dll" $folder -Copy-Item -Force -Recurse "FEBuilderGBA\bin\Debug\config" $folder +Copy-Item -Force -Recurse "FEBuilderGBA\bin\Debug\config\*" $folder\config -Exclude @("etc","log") Copy-Item -Force *.md $folder