Fix errors

distro

distro

comment out reh stuff

distro

fix yml

distro

bump smoke ext
This commit is contained in:
AzureDataStudio
2020-08-06 00:12:43 -07:00
parent 540046ba00
commit 24b3181cbc
13 changed files with 53 additions and 53 deletions

View File

@@ -5,16 +5,16 @@ $Arch = "x64"
$Repo = "$(pwd)"
$Root = "$Repo\.."
$LegacyServer = "$Root\azuredatastudio-reh-win32-$Arch"
$ServerName = "azuredatastudio-server-win32-$Arch"
$Server = "$Root\$ServerName"
$ServerZipLocation = "$Repo\.build\win32-$Arch\server"
$ServerZip = "$ServerZipLocation\azuredatastudio-server-win32-$Arch.zip"
# $LegacyServer = "$Root\azuredatastudio-reh-win32-$Arch"
# $ServerName = "azuredatastudio-server-win32-$Arch"
# $Server = "$Root\$ServerName"
# $ServerZipLocation = "$Repo\.build\win32-$Arch\server"
# $ServerZip = "$ServerZipLocation\azuredatastudio-server-win32-$Arch.zip"
# Create server archive
New-Item $ServerZipLocation -ItemType Directory # this will throw even when success for we don't want to exec this
$global:LASTEXITCODE = 0
exec { Rename-Item -Path $LegacyServer -NewName $ServerName } "Rename Item"
exec { .\node_modules\7zip\7zip-lite\7z.exe a -tzip $ServerZip $Server -r } "Zip Server"
# New-Item $ServerZipLocation -ItemType Directory # this will throw even when success for we don't want to exec this
# $global:LASTEXITCODE = 0
# exec { Rename-Item -Path $LegacyServer -NewName $ServerName } "Rename Item"
# exec { .\node_modules\7zip\7zip-lite\7z.exe a -tzip $ServerZip $Server -r } "Zip Server"
exec { node build/azure-pipelines/common/copyArtifacts.js } "Copy Artifacts"