clovis1444/Get version

Get project version from a file

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
file_to_readFile that contains project version.yes
line_patternRegEx pattern to a line, that contains a project version.yes
version_patternRegEx pattern to a version. Default value is "[0-9]\+\.[0-9]\+\.[0-9]\+".[0-9]\+\.[0-9]\+\.[0-9]\+
custom_commandExecute your own command to determine project version. When using this the following inputs are ignored: file_to_read, line_pattern, version_pattern.""
repoRepository name with owner. Default value is the current repository.${{ github.repository }}
checkoutWhether or not to checkout the file. Default value is false.false
tag_prefixTag prefix to search for existing tags. Default value is 'v'.v
tag_postfixTag postfix to search for existing tags. Default value is ''.""
namedescription
project_versionProject version.
existsReturns true if tag with the current version already exists.