Fix logic in SetTestPipelineVersionInEngCommon (#1794)

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
This commit is contained in:
Azure SDK Bot 2021-03-05 13:49:38 -08:00 committed by GitHub
parent 64d18ea182
commit b96f42481c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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