psmodule/Resolve-PSModuleVersion
Resolves the next module version from settings, PR labels, GitHub releases, and the PowerShell Gallery.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| Settings | The complete settings object as a JSON string (output of Get-PSModuleSettings). | yes | — |
| Name | Name of the module. When empty, the repository name is used. | no | — |
| WorkingDirectory | The working directory where the script will run from. | no | . |
| Debug | Enable debug output. | no | false |
| Verbose | Enable verbose output. | no | false |
| EventPath | Path to the GitHub event JSON file. Defaults to the standard GitHub event path. Override for testing. | no | "" |
| EventJson | GitHub event payload as a JSON string. When set, overrides reading from the event file. Use for testing. | no | "" |
Outputs
| name | description |
|---|---|
| Version | The Major.Minor.Patch portion of the resolved version. |
| Prerelease | The prerelease tag, empty when not a prerelease. |
| FullVersion | The full version string including version prefix and prerelease tag (for example v1.4.0-alpha001). |
| ReleaseType | The resolved release type - Release, Prerelease, or None. |
| CreateRelease | true when a release or prerelease should be created from this run. |