🩹 [Patch]: Install built modules at their real version (bump Install-PSModuleHelpers)#52
Merged
Marius Storhaug (MariusStorhaug) merged 3 commits intoJul 9, 2026
Conversation
…ersion Document-PSModule installs the built module via Install-PSModule (from Install-PSModuleHelpers). Bump the pin so the module installs into a folder matching its manifest ModuleVersion instead of the 999.0.0 placeholder, required now that the build stamps the real version (PSModule/Process-PSModule#326). Temporarily pinned to the fix branch (PSModule/Install-PSModuleHelpers#19); repin to the released tag before merge.
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 8, 2026 01:31
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the composite action to use a newer Install-PSModuleHelpers commit that installs built PowerShell modules into a versioned folder matching the module manifest, preventing Import-Module failures during docs generation.
Changes:
- Bumped the
PSModule/Install-PSModuleHelperspin from the previously used commit (v1.0.7) to a newer commit containing the “install real module version” fix. - Added an inline note indicating the pin is temporary and tied to
Install-PSModuleHelpers#19.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 8, 2026 01:38
View session
PR PSModule/Install-PSModuleHelpers#19 is merged and released as v1.0.8. Replace the TEMP branch pin with the released v1.0.8 commit SHA.
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 9, 2026 00:09
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Document-PSModuleinstalls the built module (viaInstall-PSModulefromInstall-PSModuleHelpers) before generating docs. That helper used to copy the module into a hard-coded999.0.0folder, which breaks now that Process-PSModule#326 stamps the real version at build time (folder no longer matches the manifest, soImport-Modulefails andBuild-Docsbreaks).Change
Bump the
Install-PSModuleHelperspin to the version that installs into a folder matching the manifestModuleVersion(PSModule/Install-PSModuleHelpers#19).Part of the Process-PSModule#326 refactor.