debugging
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
OCram85 2022-07-27 12:39:15 +02:00
parent 4b05d6a985
commit f5494e9eb2
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Describe 'Update-ModuleMeta' {
$Env:DRONE_SEMVER = '9.9.9-dev9'
$Env:DRONE_SEMVER_SHORT = '9.9.9'
$Env:DRONE_SEMVER_PRERELEASE = 'dev9'
Update-ModuleMeta
Update-ModuleMeta -Verbose
} | Should -Not -Throw
$data = Import-PowerShellDataFile -Path './resources/MyModule.psd1'
$data.ModuleVersion | Should -Be '9.9.9'

View File

@ -74,6 +74,7 @@ function Update-ModuleMeta {
PassThru = $true
Encoding = 'utf8NoBom'
Force = $true
Verbose = $VerbosePreference
}
try {
$ModManifestData | ConvertTo-Psd | Set-Content @OutputFileParams