mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merged PR 28440: [backport/v7.4.0] Fix release build by making the internal SDK parameter optional (#20658)
Fix release build by making the internal SDK parameter optional (#20658)
This commit is contained in:
committed by
Travis Plunk
parent
b619000e10
commit
66a70746de
+3
-2
@@ -19,8 +19,9 @@ $script:Options = $null
|
||||
$dotnetMetadata = Get-Content $PSScriptRoot/DotnetRuntimeMetadata.json | ConvertFrom-Json
|
||||
$dotnetCLIChannel = $dotnetMetadata.Sdk.Channel
|
||||
$dotnetCLIQuality = $dotnetMetadata.Sdk.Quality
|
||||
$dotnetAzureFeed = $env:__DONET_RUNTIME_FEED ?? $dotnetMetadata.Sdk.azureFeed
|
||||
$dotnetAzureFeedSecret = $env:__DONET_RUNTIME_FEED_KEY
|
||||
# __DOTNET_RUNTIME_FEED and __DOTNET_RUNTIME_FEED_KEY are private variables used in release builds
|
||||
$dotnetAzureFeed = if ([string]::IsNullOrWhiteSpace($env:__DOTNET_RUNTIME_FEED)) { $dotnetMetadata.Sdk.azureFeed } else { $env:__DOTNET_RUNTIME_FEED }
|
||||
$dotnetAzureFeedSecret = $env:__DOTNET_RUNTIME_FEED_KEY
|
||||
$dotnetSDKVersionOveride = $dotnetMetadata.Sdk.sdkImageOverride
|
||||
$dotnetCLIRequiredVersion = $(Get-Content $PSScriptRoot/global.json | ConvertFrom-Json).Sdk.Version
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ parameters:
|
||||
- name: InternalSDKBlobURL
|
||||
displayName: URL to the blob havibg internal .NET SDK
|
||||
type: string
|
||||
default: ' '
|
||||
|
||||
variables:
|
||||
- name: DOTNET_CLI_TELEMETRY_OPTOUT
|
||||
|
||||
@@ -21,6 +21,7 @@ parameters:
|
||||
- name: InternalSDKBlobURL
|
||||
displayName: URL to the blob having internal .NET SDK
|
||||
type: string
|
||||
default: ' '
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
|
||||
Reference in New Issue
Block a user