valadas/get-version-from-dnn-manifest
Gets the version information from a Dnn manifest.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| manifestPath | If a glob is provided will load the version from the first matched file in the glob. | no | **/*.dnn |
| packageName | If manifest AND package is provided, will load the version from taht specific manifest and from that specific package name. | no | "" |
Outputs
| name | description |
|---|---|
| major | a number representing the major version number. Returns 1 for version 01.02.03 |
| minor | a number representing the minor version number. Returns 2 for version 01.02.03 |
| patch | a number representing the patch version number. Return 3 for version 01.02.03 |
| versionString | a string representing the version number exactly as it is in the manifest. |