Skip to content

Commit 27819ed

Browse files
Update LanguageSetting.ps1 (Azure#15325)
1 parent 0163114 commit 27819ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/scripts/Language-Settings.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ function Get-python-PackageInfoFromPackageFile ($pkg, $workingDirectory) {
7777
return New-Object PSObject -Property @{
7878
PackageId = $pkgId
7979
PackageVersion = $pkgVersion
80+
ReleaseTag = "$($pkgId)_$($pkgVersion)"
8081
Deployable = $forceCreate -or !(IsPythonPackageVersionPublished -pkgId $pkgId -pkgVersion $pkgVersion)
8182
ReleaseNotes = $releaseNotes
8283
ReadmeContent = $readmeContent
@@ -102,7 +103,7 @@ function Publish-python-GithubIODocs ($DocLocation, $PublicArtifactLocation)
102103
Write-Host "Discovered Package Name: $PkgName"
103104
Write-Host "Discovered Package Version: $Version"
104105
Write-Host "Directory for Upload: $UnzippedDocumentationPath"
105-
$releaseTag = RetrieveReleaseTag "PyPI" $PublicArtifactLocation
106+
$releaseTag = RetrieveReleaseTag $PublicArtifactLocation
106107
Upload-Blobs -DocDir $UnzippedDocumentationPath -PkgName $PkgName -DocVersion $Version -ReleaseTag $releaseTag
107108
}
108109
}

0 commit comments

Comments
 (0)