mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-21 17:40:48 +00:00
move $target out of loop
-Force compress archive if it exists
This commit is contained in:
parent
3f696d86da
commit
b6b4c5fd97
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user