From d8addb772b6c939065079d395c2a9d6eb651c6e2 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Fri, 5 Mar 2021 13:53:36 -0800 Subject: [PATCH] Fix logic in SetTestPipelineVersionInEngCommon (#1470) Fixing up errors in `SetTestPipelineVersion.ps1` --- eng/common/scripts/SetTestPipelineVersion.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/common/scripts/SetTestPipelineVersion.ps1 b/eng/common/scripts/SetTestPipelineVersion.ps1 index fd29005baad..6bc333cd630 100644 --- a/eng/common/scripts/SetTestPipelineVersion.ps1 +++ b/eng/common/scripts/SetTestPipelineVersion.ps1 @@ -9,7 +9,7 @@ param ( $ServiceDirectory ) -. common.ps1 +. (Join-Path $PSScriptRoot common.ps1) $latestTags = git tag -l "${PackageName}_*" $semVars = @() @@ -28,6 +28,6 @@ $newVersion.PrereleaseNumber = $BuildID LogDebug "Version to publish [ $($newVersion.ToString()) ]" -SetPackageVersion -PackageName $PackagName ` +SetPackageVersion -PackageName $PackageName ` -Version $newVersion ` - -ServiceDirectory $ServiceDirectory ` + -ServiceDirectory $ServiceDirectory \ No newline at end of file