Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eng/scripts/Query-Azure-Packages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ function Get-go-Packages

$package = CreatePackage $tag $versions[0]

# We should keep this regex in sync with what is in the go repo at https://github.com/Azure/azure-sdk-for-go/blob/main/eng/scripts/Language-Settings.ps1#L32
if ($package.Package -match "(?<modPath>sdk/(?<serviceDir>(resourcemanager/)?((?<serviceName>[^/]+)/)?(?<modName>[^/]+$)))")
# We should keep this regex in sync with what is in the go repo at https://github.com/Azure/azure-sdk-for-go/blob/main/eng/scripts/Language-Settings.ps1#L40
if ($package.Package -match "(?<modPath>sdk/(?<serviceDir>(.*?(?<serviceName>[^/]+)/)?(?<modName>[^/]+$)))")
{
$modPath = $matches["modPath"]
$modName = $matches["modName"]
Expand Down