mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-21 00:44:52 +00:00
deal with FileInUse exception when packing .zip
This commit is contained in:
6
Scripts/pack-zip.ps1
Normal file
6
Scripts/pack-zip.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
$version = git describe --always --tags
|
||||
|
||||
Start-Sleep -s 1
|
||||
|
||||
Remove-Item ..\Build\QuickLook-$version.zip -ErrorAction SilentlyContinue
|
||||
Compress-Archive ..\Build\Package\* ..\Build\QuickLook-$version.zip
|
Reference in New Issue
Block a user