Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Microsoft.WinGet.Client help docs in cmdlet output #4731

Merged
merged 5 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,16 @@ jobs:
Contents: '**\*'
TargetFolder: '$(Build.ArtifactStagingDirectory)'

- task: PowerShell@2
displayName: Generate Microsoft.WinGet.Client Help Documentation
inputs:
pwsh: true
targetType: inline
script: |
Install-Module -Name platyPS -Force
Import-Module platyPS
New-ExternalHelp -Path '$(Build.SourcesDirectory)\src\PowerShell\Help\Microsoft.WinGet.Client' -OutputPath '$(Build.ArtifactStagingDirectory)\Microsoft.WinGet.Client'

- task: CopyFiles@2
displayName: 'Copy Microsoft.WinGet.DSC module to staging directory'
inputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ This command support the following administrative settings:
- InstallerHashOverride
- LocalArchiveMalwareScanOverride
- ProxyCommandLineOptions
- DefaultProxy

Administrative settings are disabled by default. Administrative settings can also be managed using
Group Policy objects.
Expand Down
Loading