We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c705de commit b9bf59aCopy full SHA for b9bf59a
tools/ExpandModules.ps1
@@ -48,7 +48,7 @@ try {
48
}
49
foreach ($package in $AllPackages) {
50
foreach ($module in $ModifiedModules) {
51
- if (($package.Name -like "*$module*") -or ($package.Name -match '^Az(Preview)?\.\d+\.\d+\.\d+\.nupkg$')) {
+ if (($package.Name -like "Az.$module.*.nupkg") -or ($package.Name -match '^Az(Preview)?\.\d+\.\d+\.\d+\.nupkg$')) {
52
$module_name = $package.Name
53
$zip_artifact = $package.FullName -replace ".nupkg$",".zip"
54
Write-Output "Renaming $package to zip archive $zip_artifact"
@@ -63,4 +63,4 @@ try {
63
} catch {
64
$Errors = $_
65
Write-Error ($_ | Out-String)
66
-}
+}
0 commit comments