Skip to content

Commit a3e8da7

Browse files
committed
Merge pull request Azure#1097 from markcowl/signscript
Update package metadata, license uri, and signing
2 parents 1d44122 + c72da97 commit a3e8da7

27 files changed

+32
-30
lines changed

build.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@
214214
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft*Azure*Commands*.dll" />
215215
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft.Azure.Common.Extensions.dll" />
216216
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1" />
217+
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.psm1" />
217218
</ItemGroup>
218219

219220
<Message Importance="high" Text="$(LibrarySourceFolder)\Package\$(Configuration) does not contains any files to sign. Code sign will skip."

src/Common/Storage/Azure.Storage.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Storage'
27+
Description = 'Microsoft Azure PowerShell - Storage service cmdlets. Manages blobs, queues, tables and files in Microsoft Azure storage accounts'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Api Management'
27+
Description = 'Microsoft Azure PowerShell - Api Management service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Automation/AzureRM.Automation.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Automation'
27+
Description = 'Microsoft Azure PowerShell - Automation service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/AzureBackup/AzureRM.Backup.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - AzureBackup'
27+
Description = 'Microsoft Azure PowerShell - Azure Backup service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/AzureBatch/AzureRM.Batch.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Batch'
27+
Description = 'Microsoft Azure PowerShell - Batch service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Compute/AzureRM.Compute.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Compute'
27+
Description = 'Microsoft Azure PowerShell - Compute service cmdlets for Azure Resource Manager. Manages virtual machines, hosted services, and related resources in Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/DataFactories/AzureRM.DataFactories.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - DataFactories'
27+
Description = 'Microsoft Azure PowerShell - DataFactories service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Dns/AzureRM.Dns.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Dns'
27+
Description = 'Microsoft Azure PowerShell - Dns service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/HDInsight/AzureRM.HDInsight.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - HDInsight'
27+
Description = 'Microsoft Azure PowerShell - HDInsight service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Insights/AzureRM.Insights.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Insights'
27+
Description = 'Microsoft Azure PowerShell - Insights service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/KeyVault/AzureRM.KeyVault.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - KeyVault'
27+
Description = 'Microsoft Azure PowerShell - KeyVault service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Network/AzureRM.Network.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Network'
27+
Description = 'Microsoft Azure PowerShell - Network service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/OperationalInsights/AzureRM.OperationalInsights.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - OperationalInsights'
27+
Description = 'Microsoft Azure PowerShell - OperationalInsights service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Profile/AzureRM.Profile.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Profile'
27+
Description = 'Microsoft Azure PowerShell - Profile credential management cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/RedisCache/AzureRM.RedisCache.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - RedisCache'
27+
Description = 'Microsoft Azure PowerShell - RedisCache service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Resources/AzureRM.Resources.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Resources'
27+
Description = 'Microsoft Azure PowerShell - Azure Resource Manager cmdlets. Manages subscriptions, tenants, resource groups, deployment templates, providers, and resource permissions in Azure Resource Manager. Provides cmdlets for managing resources generically across resource providers.'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/SiteRecovery/AzureRM.SiteRecovery.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - SiteRecovery'
27+
Description = 'Microsoft Azure PowerShell - SiteRecovery service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Sql/AzureRM.Sql.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Sql'
27+
Description = 'Microsoft Azure PowerShell - Sql service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Storage/AzureRM.Storage.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Storage'
27+
Description = 'Microsoft Azure PowerShell - Storage service management cmdlets for Azure Resource Manager. Creates and manages storage accounts in Azure Resource Manager.'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/StreamAnalytics/AzureRM.StreamAnalytics.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - StreamAnalytics'
27+
Description = 'Microsoft Azure PowerShell - StreamAnalytics service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Tags/AzureRM.Tags.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Tags'
27+
Description = 'Microsoft Azure PowerShell - Tags service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/TrafficManager/AzureRM.TrafficManager.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - TrafficManager'
27+
Description = 'Microsoft Azure PowerShell - TrafficManager service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/UsageAggregates/AzureRM.UsageAggregates.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - UsageAggregates'
27+
Description = 'Microsoft Azure PowerShell - UsageAggregates service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Websites/AzureRM.Websites.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Websites'
27+
Description = 'Microsoft Azure PowerShell - Websites service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

tools/AzureRM/AzureRM.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ function Update-AzureRM
131131
Set-PSRepository -Name $Repository -InstallationPolicy Trusted
132132

133133
Install-ModuleWithVersionCheck "AzureRM.Profile" $MajorVersion $Repository $Scope
134+
Install-ModuleWithVersionCheck "Azure.Storage" $MajorVersion $Repository $Scope
134135

135136
# Start new job
136137
$AzureRMModules | ForEach {

tools/PublishModules.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,29 @@ $publishToLocal = test-path $repositoryLocation
5858
if (($scope -eq 'All') -or $publishToLocal ) {
5959
# If we publish 'All' or to local folder, publish AzureRM.Profile first, becasue it is the common dependency
6060
Write-Host "Publishing profile module"
61-
Publish-Module -Path "$resourceManagerRootFolder\AzureRM.Profile" -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure")
61+
Publish-Module -Path "$resourceManagerRootFolder\AzureRM.Profile" -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure") -LicenseUri "http://aka.ms/azps-license"
6262
Write-Host "Published profile module"
6363
}
6464

6565
if (($scope -eq 'All') -or ($scope -eq 'ServiceManagement')) {
6666
$modulePath = "$packageFolder\$buildConfig\ServiceManagement\Azure"
6767
# Publish Azure module
6868
Write-Host "Publishing ServiceManagement(aka Azure) module from $modulePath"
69-
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure")
69+
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure") -LicenseUri "http://aka.ms/azps-license"
7070
}
7171

7272
if (($scope -eq 'All') -or ($scope -eq 'AzureStorage')) {
7373
$modulePath = "$packageFolder\$buildConfig\ServiceManagement\Azure\Azure.Storage"
7474
# Publish AzureStorage module
7575
Write-Host "Publishing AzureStorage module from $modulePath"
76-
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure")
76+
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure") -LicenseUri "http://aka.ms/azps-license"
7777
}
7878

7979
if (($scope -eq 'All') -or ($scope -eq 'AzureRM')) {
8080
# Publish AzureRM module
8181
$modulePath = "$PSScriptRoot\AzureRM"
8282
Write-Host "Publishing AzureRM module from $modulePath"
83-
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure")
83+
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure") -LicenseUri "http://aka.ms/azps-license"
8484
Write-Host "Published Azure module"
8585
}
8686

@@ -92,15 +92,15 @@ if ($scope -eq 'All') {
9292
if (($module.Name -ne "AzureRM.Profile") -and ($module.Name -ne "Azure.Storage")) {
9393
$modulePath = $module.FullName
9494
Write-Host "Publishing $module module from $modulePath"
95-
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure")
95+
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure") -LicenseUri "http://aka.ms/azps-license"
9696
Write-Host "Published $module module"
9797
}
9898
}
9999
} elseif ($scope -ne 'AzureRM') {
100100
$modulePath = Join-Path $resourceManagerRootFolder "AzureRM.$scope"
101101
if (Test-Path $modulePath) {
102102
Write-Host "Publishing $scope module from $modulePath"
103-
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure")
103+
Publish-Module -Path $modulePath -NuGetApiKey $apiKey -Repository $repoName -Tags ("Azure") -LicenseUri "http://aka.ms/azps-license"
104104
Write-Host "Published $scope module"
105105
} else {
106106
Write-Error "Can not find module with name $scope to publish"

0 commit comments

Comments
 (0)