File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11function Publish-PSModule {
22 <#
3- . SYNOPSIS
4- Publishes a module to the PowerShell Gallery.
3+ . SYNOPSIS
4+ Publishes a module to the PowerShell Gallery and creates a GitHub Release .
55
6- . DESCRIPTION
7- Publishes a module to the PowerShell Gallery.
6+ . DESCRIPTION
7+ Publishes a module to the PowerShell Gallery and creates a GitHub Release .
88
9- . EXAMPLE
10- Publish-PSModule -Name 'PSModule.FX' -APIKey $env:PSGALLERY_API_KEY
9+ . EXAMPLE
10+ Publish-PSModule -Name 'PSModule.FX' -APIKey $env:PSGALLERY_API_KEY
1111 #>
1212 [OutputType ([void ])]
1313 [CmdletBinding ()]
1919 ' PSUseDeclaredVarsMoreThanAssignments' , ' ' ,
2020 Justification = ' LogGroup - Scoping affects the variables line of sight.'
2121 )]
22+ [Diagnostics.CodeAnalysis.SuppressMessageAttribute (
23+ ' PSAvoidUsingWriteHost' , ' ' ,
24+ Justification = ' Log outputs to GitHub Actions logs.'
25+ )]
2226 param (
2327 # Name of the module to process.
2428 [Parameter ()]
You can’t perform that action at this time.
0 commit comments