From d1016b120288b275047ef997962c9f9241a9c229 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Fri, 13 Nov 2020 15:47:25 -0800 Subject: [PATCH] Update LanguageSetting.ps1 --- eng/scripts/Language-Settings.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index fb66486137..173d54b9e5 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -18,17 +18,17 @@ function Get-c-PackageInfoFromPackageFile ($pkg, $workingDirectory) { $releaseNotes = Get-ChangeLogEntryAsString -ChangeLogLocation $changeLogLoc -VersionString $pkgVersion } - + $readmeContentLoc = @(Get-ChildItem -Path $packageArtifactLocation -Recurse -Include "README.md")[0] - if ($readmeContentLoc) - { + if ($readmeContentLoc) { $readmeContent = Get-Content -Raw $readmeContentLoc } return New-Object PSObject -Property @{ - PackageId = 'azure-sdk-for-c' + PackageId = '' PackageVersion = $pkgVersion - # Artifact info is always considered deployable for C because it is not + ReleaseTag = $pkgVersion + # Artifact info is always considered deployable for C becasue it is not # deployed anywhere. Dealing with duplicate tags happens downstream in # CheckArtifactShaAgainstTagsList Deployable = $true