-
-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
Potential names: Get-NextPSGalleryModuleVersion, Get-NextPSGalleryScriptVersion
Because who doesn't love long names!
Input: Module name, PSRepository
Use Find-Module to find the next version. Stick to user's scheme (x.x.x vs. x.x.x.x, even if the latter doesn't comply with semver).
Example use case: Many examples for bumping module version just bump the psd1. That works for a single deployment. Next deployment, unless you committed that change, the psd1 remains the same and your deployment fails. Ideally, you get the PSGallery version, bump that, and set the psd1. Caveat: the source file will get out of date.
michaeltlombardi
Metadata
Metadata
Assignees
Labels
No labels