Fixes external dependencies in updated module manifest files #7

Merged
OCram85 merged 12 commits from fixExtDeps into master 2022-07-27 14:27:45 +02:00
Showing only changes of commit 775d7cd339 - Show all commits

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!'
} }
} }
} }