Skip to content

Commit 1e21eab

Browse files
committed
Updated release tag for patch release and bom release
1 parent 65d7238 commit 1e21eab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/scripts/Generate-Patch.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function GetRemoteName($MainRemoteUrl) {
8383
}
8484

8585
function ResetSourcesToReleaseTag($ArtifactName, $ServiceDirectoryName, $ReleaseVersion, $RepoRoot, $RemoteName, $GroupId = "com.azure") {
86-
$ReleaseTag = "${ArtifactName}_${ReleaseVersion}"
86+
$ReleaseTag = "${GroupId}+${ArtifactName}_${ReleaseVersion}"
8787
Write-Information "Resetting the $ArtifactName sources to the release $ReleaseTag."
8888

8989
$SdkDirPath = Join-Path $RepoRoot "sdk"

eng/scripts/bomhelpers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function GeneratePatch($PatchInfo, [string]$BranchName, [string]$RemoteName, [st
303303
Write-Output "PatchVersion is: $patchVersion"
304304
}
305305

306-
$releaseTag = "$($artifactId)_$($releaseVersion)"
306+
$releaseTag = "$($GroupId)+$($artifactId)_$($releaseVersion)"
307307
if (!$currentPomFileVersion -or !$artifactDirPath -or !$changelogPath) {
308308
$pkgProperties = [PackageProps](Get-PkgProperties -PackageName $artifactId -ServiceDirectory $serviceDirectoryName -GroupId $GroupId)
309309
$artifactDirPath = $pkgProperties.DirectoryPath

0 commit comments

Comments
 (0)