File tree Expand file tree Collapse file tree 6 files changed +3
-69
lines changed Expand file tree Collapse file tree 6 files changed +3
-69
lines changed Original file line number Diff line number Diff line change 21
21
GITHUB_TOKEN : ${{ github.token }}
22
22
with :
23
23
Name : PSModule
24
+ ModulePath : tests/outputs/modules
25
+ DocsPath : tests/outputs/docs
24
26
APIKey : ${{ secrets.APIKEY }}
25
27
WhatIf : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -306,24 +306,12 @@ function Publish-PSModule {
306
306
Write-Verbose " Prerelease is: [$ ( $newVersion.Prerelease ) ]"
307
307
Update-ModuleManifest - Path $manifestFilePath - Prerelease $ ($newVersion.Prerelease ) - Verbose:$false
308
308
}
309
-
310
- # region Format manifest file
311
- $manifestContent = Get-Content - Path $manifestFilePath
312
- $manifestContent = $manifestContent | ForEach-Object { $_ -replace ' #.*' }
313
- $manifestContent = $manifestContent | ForEach-Object { $_.TrimEnd () }
314
- $manifestContent = $manifestContent | Where-Object { $_ | IsNotNullOrEmpty }
315
- $manifestContent | Out-File - FilePath $manifestFilePath - Encoding utf8BOM - Force
316
-
317
- $manifestContent = Get-Content - Path $manifestFilePath - Raw
318
- $settings = (Join-Path - Path $PSScriptRoot ' PSScriptAnalyzer.Tests.psd1' )
319
- Invoke-Formatter - ScriptDefinition $manifestContent - Settings $settings |
320
- Out-File - FilePath $manifestFilePath - Encoding utf8BOM - Force
309
+ Format-ModuleManifest - Path $manifestFilePath
321
310
Stop-LogGroup
322
311
323
312
Start-LogGroup ' Format manifest file - Result'
324
313
Show-FileContent - Path $manifestFilePath
325
314
Stop-LogGroup
326
- # endregion Format manifest file
327
315
328
316
# endregion Update module manifest
329
317
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments