Skip to content

Commit

Permalink
Ignore config/etc & config/log when release
Browse files Browse the repository at this point in the history
  • Loading branch information
laqieer committed Aug 26, 2024
1 parent 9b2f60b commit 4c032d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion release.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4c032d4

Please sign in to comment.