This action determines the version number from the module definition file and returns it as the version number.
Required The desitnation of the module definition file. Default "./module-definition/info.json"
.
The fallback version without build version. Default 2.0.0
The alternative major version. Default ``
The alternative minor version. Default ``
The alternative build version. Default ``
The version number of the module. If the version number is not recognized, the fallback with the date prefix YYMM is used.
The version number of the module without the build version. If the version number is not recognized, the fallback with the date prefix YYMM is used.
uses: actiwaredevelopment/action-io-get-module-version@v0.7
with:
module-definition-file: './module-definition/info.json'
fallback-version: '2.0.0'