mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 17:22:48 -05:00
* Merge from vscode fcf3346a8e9f5ee1e00674461d9e2c2292a14ee3 * Fix test build break * Update distro * Fix build errors * Update distro * Update REH build file * Update build task names for REL * Fix product build yaml * Fix product REH task name * Fix type in task name * Update linux build step * Update windows build tasks * Turn off server publish * Disable REH * Fix typo * Bump distro * Update vscode tests * Bump distro * Fix type in disto * Bump distro * Turn off docker build * Remove docker step from release Co-authored-by: ADS Merger <andresse@microsoft.com> Co-authored-by: Karl Burtram <karlb@microsoft.com>
21 lines
802 B
PowerShell
21 lines
802 B
PowerShell
. build/azure-pipelines/win32/exec.ps1
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$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"
|
|
|
|
# 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"
|
|
|
|
exec { node build/azure-pipelines/common/copyArtifacts.js } "Copy Artifacts"
|