From 5b061272bb53a8c3c673c21c5e30ab3efb3769c6 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 5 Mar 2021 13:50:42 -0800 Subject: [PATCH] Fix logic in SetTestPipelineVersionInEngCommon (#19278) Co-authored-by: Chidozie Ononiwu --- 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 fd29005baadd2..6bc333cd63030 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