Skip to content

Commit d4084a0

Browse files
Update LanguageSetting.ps1 (Azure#17583)
1 parent 006e3b6 commit d4084a0

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
@@ -86,6 +86,7 @@ function Get-java-PackageInfoFromPackageFile ($pkg, $workingDirectory) {
8686
PackageId = $pkgId
8787
GroupId = $groupId
8888
PackageVersion = $pkgVersion
89+
ReleaseTag = "$($pkgId)_$($pkgVersion)"
8990
Deployable = $forceCreate -or !(IsMavenPackageVersionPublished -pkgId $pkgId -pkgVersion $pkgVersion -groupId $groupId.Replace(".", "/"))
9091
ReleaseNotes = $releaseNotes
9192
ReadmeContent = $readmeContent
@@ -137,7 +138,7 @@ function Publish-java-GithubIODocs ($DocLocation, $PublicArtifactLocation)
137138
Write-Host "DocDir $($UnjarredDocumentationPath)"
138139
Write-Host "PkgName $($ArtifactId)"
139140
Write-Host "DocVersion $($Version)"
140-
$releaseTag = RetrieveReleaseTag "Maven" $PublicArtifactLocation
141+
$releaseTag = RetrieveReleaseTag $PublicArtifactLocation
141142
Upload-Blobs -DocDir $UnjarredDocumentationPath -PkgName $ArtifactId -DocVersion $Version -ReleaseTag $releaseTag
142143

143144
}

0 commit comments

Comments
 (0)