Fix 1908 - Version from API differs from manifest by o-l-a-v · Pull Request #1911 · PowerShell/PSResourceGet · GitHub
Skip to content

Fix 1908 - Version from API differs from manifest#1911

Open
o-l-a-v wants to merge 2 commits intoPowerShell:masterfrom
o-l-a-v:fix-1908-version-from-api-differs-from-manifest
Open

Fix 1908 - Version from API differs from manifest#1911
o-l-a-v wants to merge 2 commits intoPowerShell:masterfrom
o-l-a-v:fix-1908-version-from-api-differs-from-manifest

Conversation

@o-l-a-v
Copy link
Copy Markdown
Contributor

@o-l-a-v o-l-a-v commented Nov 19, 2025

PR Summary

Prefer version from the .psd1 manifest file if the version returned from the repository API is different. Else Import-Module fails, saying the manifest is not valid.

I used Copilot to mock up needed changes. I implemented and tested them with modifications myself. Built the module and tested Install-PSResource, like linked issue described.

PR Context

#1908

PR Checklist

@o-l-a-v
Copy link
Copy Markdown
Contributor Author

o-l-a-v commented Nov 19, 2025

@anamnavi
Copy link
Copy Markdown
Member

anamnavi commented Dec 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants