mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
Initialize Docs repository: https://github.com/dotnet/docs-desktop of branch live
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
param(
|
||||
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
|
||||
[string]$parameters
|
||||
)
|
||||
# Main
|
||||
$errorActionPreference = 'Stop'
|
||||
|
||||
# Step-1: Download buildcore script to local
|
||||
echo "download build core script to local with source url: $buildCorePowershellUrl"
|
||||
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
||||
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
|
||||
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"
|
||||
|
||||
# Step-2: Run build core
|
||||
echo "run build core script with parameters: $parameters"
|
||||
& "$buildCorePowershellDestination" "$parameters"
|
||||
exit $LASTEXITCODE
|
||||
Reference in New Issue
Block a user