https://github.com/valadas/get-version-from-dnn-manifest
Gets version information from a dnn manifest
https://github.com/valadas/get-version-from-dnn-manifest
Last synced: about 1 month ago
JSON representation
Gets version information from a dnn manifest
- Host: GitHub
- URL: https://github.com/valadas/get-version-from-dnn-manifest
- Owner: valadas
- Created: 2020-05-13T16:51:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T01:50:00.000Z (about 6 years ago)
- Last Synced: 2026-02-10T23:37:48.287Z (4 months ago)
- Language: TypeScript
- Size: 193 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# get-version-from-dnn-manifest
As the name implies this github action gets a version from a .dnn manifest file.
By default it works without any inputs and grabs the version of the first package in the first manifest found.
## inputs
- **manifestPath**: If a path provided will load the version from this specific manifest.
- **packageName**: If manifest AND package is provided, will load the version from taht specific manifest and from that specific package name.
## outputs
- **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.