65 update module#69
Conversation
Merge pull request #66 from MatrTech/65-update-module
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the Update-QuickPath module to support updating from both the PowerShell Gallery and local builds. The main changes include adding a -FromGallery parameter to explicitly update from the gallery, splitting the update logic into separate functions, and improving the module version retrieval logic.
- Refactored
Update-QuickPathto support both gallery and build-based updates with a-FromGalleryswitch parameter - Split update logic into
Update-QuickPathFromGalleryandUpdate-QuickPathFromBuildfunctions - Improved
Get-MyModuleVersionto reliably retrieve version from loaded module, command, or manifest - Updated version from 0.14.3 to 0.16.19
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| private/Update-QuickPath.ps1 | Refactored to add parameter support and split into separate gallery and build update functions |
| tests/Update-QuickPath.Tests.ps1 | Updated tests to validate new -FromGallery parameter and mock new function calls |
| quickpath.build.ps1 | Added new Update task and sourced Update-QuickPath.ps1 script |
| private/Get-MyModuleVersion.ps1 | Rewritten to check loaded module, command module, and manifest fallback |
| private/Get-Commands.ps1 | Changed version command from inline script block to function reference |
| quickpath.psd1 | Bumped module version to 0.16.19 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.