PoshCode / ModuleBuilder

A PowerShell Module to help scripters write, version, sign, package, and publish.
MIT License
445 stars 54 forks source link

Boolean with psd1 is not being parsed correctly when Configuration 1.5/Metadata 1.5 are installed. #106

Closed MaxFrost closed 3 years ago

MaxFrost commented 3 years ago

This is mostly informational - Due to a recent change to the Configuration required module, there is a secondary required module, Metadata, that is causing boolean values within the build.psd1 to be incorrectly propagated. See https://github.com/PoshCode/Metadata/issues/1 for more details.

When that issue is resolved, this issue should also resolve.

MaxFrost commented 3 years ago

In my case, I was utilizing VersionedOutputDirectory = $true in my build.psd1s in a CI pipeline, and suddenly lost the versioned output, which broke publish steps later that were expecting versioned folder output. Workaround was to upgrade to ModuleBuilder 2.0 and remove the boolean from the psd1.

MaxFrost commented 3 years ago

Alternative workaround is to remove Configration 1.5 and Metadata 1.5, and install Configuration 1.3.

Jaykul commented 3 years ago

This should work in Metadata 1.5.1 -- sorry about that!