Skip to content

Commit 8872dfc

Browse files
matsestmsJinLeimsJinLei
authored
[Az.Tools.Installer]: Updates for a new minor/patch version (#20022)
* fix: set repository to mandatory fix #19839 * chore: formatting * docs: update help * fix: update assembly to 2.21 * chore: add ChangeLog * fix: use shouldsupportprocess as its called by internal command * Update tools/Az.Tools.Installer/ChangeLog.md Co-authored-by: Mats Estensen <[email protected]> * Microsoft.ApplicationInsights to 2.13.1 Revert the change of parameter `Repository` * Remove Az.Tools.Installer-help.xml * Fix typo in Update-AzModule help message Co-authored-by: Jin Lei <[email protected]> Co-authored-by: msJinLei <[email protected]>
1 parent 4fcab27 commit 8872dfc

15 files changed

+36
-25
lines changed

tools/Az.Tools.Installer/Az.Tools.Installer.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = @(
58-
'.\assembly\Microsoft.ApplicationInsights.2.12.0\Microsoft.ApplicationInsights.dll'
58+
'.\assembly\Microsoft.ApplicationInsights.2.13.1\Microsoft.ApplicationInsights.dll'
5959
)
6060

6161
# Script files (.ps1) that are run in the caller's environment prior to importing this module.

tools/Az.Tools.Installer/ChangeLog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Upcoming Release
2+
* Updated telemetry assembly to 2.13.1
3+
* Fixed typo in Az.Tools.Installer
4+
5+
## 0.2.0
6+
* Az.Tools.Installer version 2 (#16321)
7+
8+
## 0.1.0
9+
* Initial release

tools/Az.Tools.Installer/GenerateHelp.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Param(
88
)
99

1010
$ModuleFolder = Join-Path -Path $ArtifactFolder -ChildPath $ModuleName
11-
$TempDocFolder = Join-Path -Path $ArtifactFolder -ChildPath $ModuleName'.Doc'
11+
$TempDocFolder = Join-Path -Path $ModuleFolder -ChildPath 'help'
1212
Import-Module $ModuleFolder
13-
New-MarkdownHelp -Module $ModuleName -OutputFolder $TempDocFolder
14-
New-ExternalHelp –Path $TempDocFolder -OutputPath $ModuleFolder
13+
New-MarkdownHelp -Module $ModuleName -OutputFolder $TempDocFolder -Force
14+
New-ExternalHelp –Path $TempDocFolder -OutputPath $ModuleFolder -Force

tools/Az.Tools.Installer/exports/Install-AzModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function Install-AzModule {
4141
[string]
4242
${RequiredAzVersion},
4343

44-
[Parameter(ParameterSetName = 'Default', HelpMessage = 'The Registered Repostory.')]
44+
[Parameter(ParameterSetName = 'Default', HelpMessage = 'The Registered Repository to install module from. If only one repository is registered in PowerShell, Install-AzModule will use it. If more than one, please specify the Repository.')]
4545
[ValidateNotNullOrEmpty()]
4646
[string]
4747
${Repository},

tools/Az.Tools.Installer/exports/Uninstall-AzModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function Uninstall-AzModule {
3636
[string[]]
3737
${Name},
3838

39-
[Parameter(ParameterSetName = 'Default',HelpMessage = 'Az modules to exclude from uninstallation.', ValueFromPipelineByPropertyName = $true)]
39+
[Parameter(ParameterSetName = 'Default', HelpMessage = 'Az modules to exclude from uninstallation.', ValueFromPipelineByPropertyName = $true)]
4040
[ValidateNotNullOrEmpty()]
4141
[string[]]
4242
${ExcludeModule},

tools/Az.Tools.Installer/exports/Update-AzModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function Update-AzModule {
3232
[string[]]
3333
${Name},
3434

35-
[Parameter(HelpMessage = 'The Registered Repostory.')]
35+
[Parameter(HelpMessage = 'The Registered Repository to install module from. If only one repository is registered in PowerShell, Update-AzModule will use it. If more than one, please specify the Repository.')]
3636
[ValidateNotNullOrEmpty()]
3737
[string]
3838
${Repository},

tools/Az.Tools.Installer/help/Install-AzModule.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ Accept wildcard characters: False
8080
```
8181
8282
### -Repository
83-
The Registered Repostory.
83+
The Registered Repository to install module from.
84+
If only one repository is registered in PowerShell, Install-AzModule will use it.
85+
If more than one, please specify the Repository.
8486
8587
```yaml
8688
Type: String

tools/Az.Tools.Installer/help/Update-AzModule.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ Accept wildcard characters: False
5252
```
5353
5454
### -Repository
55-
The Registered Repostory.
55+
The Registered Repository to install module from.
56+
If only one repository is registered in PowerShell, Update-AzModule will use it.
57+
If more than one, please specify the Repository.
5658
5759
```yaml
5860
Type: String

0 commit comments

Comments
 (0)