File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ LogGroup 'Publish-ToPSGallery' {
8989 $publishPSVersion = " $ ( $newVersion.Major ) .$ ( $newVersion.Minor ) .$ ( $newVersion.Patch ) "
9090 }
9191 $psGalleryReleaseLink = " https://www.powershellgallery.com/packages/$name /$publishPSVersion "
92- Write-Output " Publish module to PowerShell Gallery using API key from environment."
92+ Write-Output ' Publish module to PowerShell Gallery using API key from environment.'
9393 if ($whatIf ) {
9494 Write-Output " Publish-PSResource -Path $modulePath -Repository PSGallery -ApiKey ***"
9595 } else {
@@ -106,7 +106,7 @@ LogGroup 'Publish-ToPSGallery' {
106106 " 'Module [$name - $publishPSVersion ]($psGalleryReleaseLink ) published to the PowerShell Gallery.'"
107107 )
108108 } else {
109- Write-Host " ::notice::Module [ $name - $publishPSVersion ] published to the PowerShell Gallery. "
109+ Write-Host " ::notice title=New publication: PowerShell Gallery - $name $publishPSVersion :: $psGalleryReleaseLink "
110110 gh pr comment $prNumber - b " Module [$name - $publishPSVersion ]($psGalleryReleaseLink ) published to the PowerShell Gallery."
111111 if ($LASTEXITCODE -ne 0 ) {
112112 Write-Error ' Failed to comment on the pull request.'
@@ -189,7 +189,7 @@ LogGroup 'New-GitHubRelease' {
189189 exit $LASTEXITCODE
190190 }
191191 }
192- Write-Host " ::notice::Release created: [ $ newVersion] "
192+ Write-Host " ::notice title=New release: GitHub - $name $ newVersion:: $releaseURL "
193193}
194194
195195Write-Output " Publishing complete. Version: [$ ( $newVersion.ToString ()) ]"
You can’t perform that action at this time.
0 commit comments