From 0beba63944ea10f45025afeb72dd59ce9fbc0144 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Wed, 16 Oct 2024 10:37:53 -0700 Subject: [PATCH] Fix variable spelling for RepoRooot --- eng/packages/http-client-csharp/ci.yml | 8 ++++---- eng/scripts/typespec/Build-Emitter.ps1 | 2 +- eng/scripts/typespec/Generate-Code.ps1 | 2 +- eng/scripts/typespec/Initialize-WorkingDirectory.ps1 | 2 +- eng/scripts/typespec/Test-Emitter.ps1 | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/eng/packages/http-client-csharp/ci.yml b/eng/packages/http-client-csharp/ci.yml index 26d51fe314b0..b4a6773e383f 100644 --- a/eng/packages/http-client-csharp/ci.yml +++ b/eng/packages/http-client-csharp/ci.yml @@ -22,15 +22,15 @@ parameters: - name: ShouldPublish displayName: 'Publish packages' type: boolean - default: true + default: false - name: PublishPublic displayName: 'Publish to npmjs.org' type: boolean default: false - - name: ShouldRegenrate + - name: ShouldRegenerate displayName: 'Regenerate clients' type: boolean - default: true + default: false variables: - template: /eng/pipelines/templates/variables/image.yml @@ -45,7 +45,7 @@ extends: PublishPublic: ${{ parameters.PublishPublic }} PublishDependsOnTest: ${{ parameters.PublishPublic }} - ShouldRegenrate: ${{ parameters.ShouldRegenrate }} + ShouldRegenerate: ${{ parameters.ShouldRegenerate }} RegenerationJobCount: 5 MinimumPerJob: 10 OnlyGenerateTypespec: true diff --git a/eng/scripts/typespec/Build-Emitter.ps1 b/eng/scripts/typespec/Build-Emitter.ps1 index 247fc134cf10..3caeec09c6d1 100644 --- a/eng/scripts/typespec/Build-Emitter.ps1 +++ b/eng/scripts/typespec/Build-Emitter.ps1 @@ -12,7 +12,7 @@ Set-StrictMode -Version 3.0 . "$PSScriptRoot/../../common/scripts/common.ps1" Set-ConsoleEncoding -$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp" +$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp" $outputPath = $OutputDirectory ? $OutputDirectory : (Join-Path $packageRoot "artifacts" "build") Push-Location $packageRoot diff --git a/eng/scripts/typespec/Generate-Code.ps1 b/eng/scripts/typespec/Generate-Code.ps1 index bdf154b1a5fc..fd87c760daa1 100644 --- a/eng/scripts/typespec/Generate-Code.ps1 +++ b/eng/scripts/typespec/Generate-Code.ps1 @@ -5,7 +5,7 @@ Set-StrictMode -Version 3.0 . "$PSScriptRoot/../../common/scripts/common.ps1" Set-ConsoleEncoding -$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp" +$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp" function Get-TspCommand { param ( diff --git a/eng/scripts/typespec/Initialize-WorkingDirectory.ps1 b/eng/scripts/typespec/Initialize-WorkingDirectory.ps1 index d89e23a24a2d..1688bc24f657 100644 --- a/eng/scripts/typespec/Initialize-WorkingDirectory.ps1 +++ b/eng/scripts/typespec/Initialize-WorkingDirectory.ps1 @@ -15,7 +15,7 @@ if ($UseTypeSpecNext) { Write-Host "##vso[build.addbuildtag]typespec_next" } -$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp" +$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp" Push-Location $packageRoot try { if (Test-Path "./node_modules") { diff --git a/eng/scripts/typespec/Test-Emitter.ps1 b/eng/scripts/typespec/Test-Emitter.ps1 index 9e886cb2063f..2ff6f2432266 100644 --- a/eng/scripts/typespec/Test-Emitter.ps1 +++ b/eng/scripts/typespec/Test-Emitter.ps1 @@ -12,7 +12,7 @@ Set-StrictMode -Version 3.0 . "$PSScriptRoot/../../common/scripts/common.ps1" Set-ConsoleEncoding -$packageRoot = Resolve-Path "$RepoRooot/eng/packages/http-client-csharp" +$packageRoot = Resolve-Path "$RepoRoot/eng/packages/http-client-csharp" $testResultsPath = $OutputDirectory ? $OutputDirectory : (Join-Path $packageRoot "artifacts" "test") $errors = @() Push-Location $packageRoot