Skip to content

Commit

Permalink
deal with FileInUse exception when packing .zip
Browse files Browse the repository at this point in the history
  • Loading branch information
xupefei committed Jul 15, 2017
1 parent af9a5f3 commit 0c02121
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Scripts/rename-pkg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ $version = git describe --always --tags
Remove-Item ..\Build\QuickLook-$version.msi -ErrorAction SilentlyContinue
Remove-Item ..\Build\QuickLook-$version.zip -ErrorAction SilentlyContinue

Start-Sleep -s 1

Rename-Item ..\Build\QuickLook.msi QuickLook-$version.msi
Compress-Archive ..\Build\Package\* ..\Build\QuickLook-$version.zip

0 comments on commit 0c02121

Please sign in to comment.