Fixes external dependencies in updated module manifest files #7
@ -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!'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user