dataplat / dbops

⚙ dbops - Powershell module that provides continuous database deployments on any scale
MIT License
157 stars 39 forks source link

Package path is corrupted when using -Absolute #84

Closed nvarscar closed 4 years ago

nvarscar commented 5 years ago
New-DBOPackage -Path C:\Temp\dbops_test_v00.zip -ScriptPath C:\Temp\dbops_test_v14 -Force -Absolute;
Get-DBOPackage -Path C:\Temp\dbops_test_v00.zip | Install-DBOPackage -SqlInstance '.\SQL2017' -Database Test1 -CreateDatabase 
Name                 Version   LastWriteTime            Builds                  
----                 -------   -------------            ------                  
dbops_test_v02.zip   2019.0... 30.8.2019 15.22.06       {[2019.08.30.152205]}   
File not found inside the package: content\2019.08.30.152205\C:\Temp\dbops_test_v14\00100_TIL_TAPAHTUMA.sql
At C:\Users\xxx\Documents\WindowsPowerShell\Modules\PSFramework\1.0.35\PSFramework.psm1:3141 char:23
+         if (-not $Cmdlet) { throw $records[0] }
+                             ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (C:\Temp\dbops_test_v02.zip:DBOpsPackage) [], Exception
    + FullyQualifiedErrorId : dbops_DBOpsPackage