mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-07 11:03:31 +00:00
Create the zip file if tests pass
This commit is contained in:
@@ -8,4 +8,6 @@ $result = Invoke-Pester -Script $PSScriptRoot\__tests__ -Verbose -PassThru
|
||||
|
||||
if ($result.FailedCount -gt 0) {
|
||||
throw "$($result.FailedCount) tests failed."
|
||||
}
|
||||
}
|
||||
|
||||
Compress-Archive -Path . -DestinationPath .\ImportExcel.zip
|
||||
Reference in New Issue
Block a user