Skip to content

Commit bd1c6a1

Browse files
committed
updating module script to build storage
2 parents 20b73c9 + ad7ecc6 commit bd1c6a1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/Storage/Azure.Storage.Netcore.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RequiredModules = @(@{ModuleName = 'AzureRM.Profile.Netcore'; ModuleVersion = '0
6060
# ScriptsToProcess = @()
6161

6262
# Type files (.ps1xml) to be loaded when importing this module
63-
TypesToProcess = '.\Microsoft.WindowsAzure.Commands.Storage.Types.ps1xml'
63+
TypesToProcess = '.\Microsoft.WindowsAzure.Commands.Storage.types.ps1xml'
6464

6565
# Format files (.ps1xml) to be loaded when importing this module
6666
FormatsToProcess = '.\Microsoft.WindowsAzure.Commands.Storage.format.ps1xml'

tools/UpdateModules.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ if ($Profile -eq "Stack") {
262262
}
263263

264264
$resourceManagerRootFolder = "$packageFolder\$buildConfig\ResourceManager\AzureResourceManager"
265-
$storageRootFolder = "$packageFolder\$buildConfig\Storage"
266265
$resourceManagerModules = Get-ChildItem -Path $resourceManagerRootFolder -Directory
267266
$templateLocation = "$PSScriptRoot\AzureRM.Example.psm1"
268267

@@ -343,9 +342,9 @@ if ($scope -eq 'AzureRM.Netcore') {
343342
Create-ModulePsm1 -ModulePath "$resourceManagerRootFolder\AzureRM.Profile.Netcore" -TemplatePath $templateLocation -IsRMModule $true
344343
Write-Host "Updated profile module"
345344

346-
Write-Host "Updating storage module"
347-
Create-ModulePsm1 -ModulePath "$storageRootFolder\Azure.Storage.Netcore" -TemplatePath $templateLocation -IsRMModule $false
348-
Write-Host "Updated profile module"
345+
$modulePath = "$packageFolder\$buildConfig\Storage\Azure.Storage.Netcore"
346+
Write-Host "Updating AzureStorage module from $modulePath"
347+
Create-ModulePsm1 -ModulePath $modulePath -TemplatePath $templateLocation -IsRMModule $false
349348

350349
$env:PSModulePath += "$([IO.Path]::PathSeparator)$resourceManagerRootFolder\AzureRM.Profile.Netcore";
351350

0 commit comments

Comments
 (0)