File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -76,14 +76,6 @@ if (($scope -eq 'All') -or ($scope -eq 'AzureStorage')) {
76
76
Publish-Module - Path $modulePath - NuGetApiKey $apiKey - Repository $repoName - Tags (" Azure" ) - LicenseUri " http://aka.ms/azps-license"
77
77
}
78
78
79
- if (($scope -eq ' All' ) -or ($scope -eq ' AzureRM' )) {
80
- # Publish AzureRM module
81
- $modulePath = " $PSScriptRoot \AzureRM"
82
- Write-Host " Publishing AzureRM module from $modulePath "
83
- Publish-Module - Path $modulePath - NuGetApiKey $apiKey - Repository $repoName - Tags (" Azure" ) - LicenseUri " http://aka.ms/azps-license"
84
- Write-Host " Published Azure module"
85
- }
86
-
87
79
$resourceManagerModules = Get-ChildItem - Path $resourceManagerRootFolder - Directory
88
80
if ($scope -eq ' All' ) {
89
81
foreach ($module in $resourceManagerModules ) {
@@ -106,3 +98,11 @@ if ($scope -eq 'All') {
106
98
Write-Error " Can not find module with name $scope to publish"
107
99
}
108
100
}
101
+
102
+ if (($scope -eq ' All' ) -or ($scope -eq ' AzureRM' )) {
103
+ # Publish AzureRM module
104
+ $modulePath = " $PSScriptRoot \AzureRM"
105
+ Write-Host " Publishing AzureRM module from $modulePath "
106
+ Publish-Module - Path $modulePath - NuGetApiKey $apiKey - Repository $repoName - Tags (" Azure" ) - LicenseUri " http://aka.ms/azps-license"
107
+ Write-Host " Published Azure module"
108
+ }
You can’t perform that action at this time.
0 commit comments