Skip to content

Commit 884f069

Browse files
committed
Update PowerShell script to remove the staging folder after completion
1 parent d033fe0 commit 884f069

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@
3131

3232
# Zip things up
3333
$command = '7za a -tzip -r ' + $name + ' .\staging\*'
34-
Invoke-Expression -Command:$command
34+
Invoke-Expression -Command:$command
35+
36+
# Remove staging folder
37+
Remove-Item $path -Force -Recurse

0 commit comments

Comments
 (0)