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 = @{
Path = $ManifestFilePath
PassThru = $true
#PassThru = $true
Encoding = 'utf8NoBom'
Force = $true
Verbose = $VerbosePreference
@ -109,19 +109,19 @@ function Update-ModuleMeta {
}
}
else {
Write-Verbose -Message 'Identical version given. Skipping update.'
Write-Warning -Message 'Identical version given. Skipping update.'
}
}
else {
Write-Verbose -Message 'Could not read the new Tag / Semver!'
Write-Warning -Message 'Could not read the new Tag / Semver!'
}
}
else {
Write-Verbose -Message 'This pipeline was not triggered by a tag.'
Write-Warning -Message 'This pipeline was not triggered by a tag.'
}
}
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!'
}
}
}