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