From 4c16494a311953af5004e9075e4be563b203a125 Mon Sep 17 00:00:00 2001 From: Marcin Gminski <8288333+marcingminski@users.noreply.github.com> Date: Fri, 30 Sep 2022 18:31:37 +0100 Subject: [PATCH] Update Build.ps1 --- AppVeyor/Build.ps1 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/AppVeyor/Build.ps1 b/AppVeyor/Build.ps1 index a589bb35..cc6273ae 100644 --- a/AppVeyor/Build.ps1 +++ b/AppVeyor/Build.ps1 @@ -133,16 +133,6 @@ Expand-Archive -LiteralPath $ReleaseFolder\SQLWATCH.dacpac.zip -DestinationPath $Version = ($xml.DacType.Version).trim() -#fix 417: -$predeploysql = Get-Content -Path "$ReleaseFolder\SQLWATCH-DACPAC\predeploy.sql" -$predeploysql = $predeploysql -replace '\$\(DacVersion\)', $Version -$predeploysql | Out-File -FilePath "$ReleaseFolder\SQLWATCH-DACPAC\predeploy.sql" -Force - -Remove-item -Path "$ReleaseFolder\SQLWATCH.dacpac" -Force -Remove-item -Path "$ReleaseFolder\SQLWATCH.dacpac.zip" -Force -Compress-Archive -Path "$ReleaseFolder\SQLWATCH-DACPAC" -DestinationPath "$ReleaseFolder\SQLWATCH.dacpac.zip" -Rename-item -Path "$ReleaseFolder\SQLWATCH.dacpac.zip" -NewName "$ReleaseFolder\SQLWATCH.dacpac" - #Rename folder to now include version number from dacpac: $ReleaseFolderName = "SQLWATCH $Version $(get-date -f yyyyMMddHHmmss)"