diff --git a/build.ps1 b/build.ps1 index 572bc4f..61b4e02 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,7 +1,7 @@ function Compress-Builds { + $target = Join-Path -Path $PSScriptRoot -ChildPath "dist" @("basic", "banana", "potato") | ForEach-Object { - $target = Join-Path -Path $PSScriptRoot -ChildPath "dist" - Compress-Archive -Path $(Join-Path -Path $target -ChildPath $_) -DestinationPath $(Join-Path -Path $target -ChildPath "${_}.zip") + Compress-Archive -Path $(Join-Path -Path $target -ChildPath $_) -DestinationPath $(Join-Path -Path $target -ChildPath "${_}.zip") -Force } }