JustinGrote / ModuleFast

A "fast and loose" way to install modules from Powershell Gallery quickly. Meant for CICD, not production
Other
74 stars 5 forks source link

Help Example 5 suggests pipeline binding that does not work #86

Closed Jaykul closed 2 months ago

Jaykul commented 2 months ago

This does not work, since there are no pipeline-bound parameters: https://github.com/JustinGrote/ModuleFast/blob/1dfe7d67caa45b1fefd3db5ec84d25ad895b94ed/ModuleFast.psm1#L151

Jaykul commented 2 months ago

I take it back. This works, the problem is that the ModuleVersion doesn't support nuget ranges.

I really don't understand the way you've done versioning.

JustinGrote commented 2 months ago

@Jaykul that syntax only supports legacy ModuleSpecification format, and that format doesn't support nuget ranges, it's there for compatibility. Same goes for PSGetv3.

I recommend the "string" syntax for nuget ranges.