replace output type
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
OCram85 2022-07-27 13:25:02 +02:00
parent 5171a18369
commit 775d7cd339

View File

@ -91,7 +91,7 @@ function Update-ModuleMeta {
) { ) {
$OutputFileParams = @{ $OutputFileParams = @{
Path = $ManifestFilePath Path = $ManifestFilePath
PassThru = $true #PassThru = $true
Encoding = 'utf8NoBom' Encoding = 'utf8NoBom'
Force = $true Force = $true
Verbose = $VerbosePreference Verbose = $VerbosePreference
@ -109,19 +109,19 @@ function Update-ModuleMeta {
} }
} }
else { else {
Write-Verbose -Message 'Identical version given. Skipping update.' Write-Warning -Message 'Identical version given. Skipping update.'
} }
} }
else { else {
Write-Verbose -Message 'Could not read the new Tag / Semver!' Write-Warning -Message 'Could not read the new Tag / Semver!'
} }
} }
else { else {
Write-Verbose -Message 'This pipeline was not triggered by a tag.' Write-Warning -Message 'This pipeline was not triggered by a tag.'
} }
} }
else { else {
Write-Verbose -Message 'Running outside of drone.io pipeline. Skipping module update!' Write-Warning -Message 'Running outside of drone.io pipeline. Skipping module update!'
} }
} }
} }