lfreleng-actions/🔍 Version Extract Action

Extract version strings from various software project types

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathPath to search for project files or path to a specific fileno.
configPath to custom configuration fileno""
formatOutput format (text or json)notext
verboseEnable verbose outputnofalse
fail-on-errorFail the action if version cannot be extractednotrue
json_formatJSON output format: pretty, minimised (default: pretty)nopretty
dynamic-fallbackEnable dynamic versioning fallback to Git tagsnotrue
namedescription
versionExtracted version string
project-typeDetected project type
subtypeProject subtype (e.g., npm, gradle)
fileFile where version was found
successWhether version extraction was successful
matched-byRegex pattern or method that matched the version
version-sourceVersion source type (static or dynamic-git-tag)
git-tagOriginal git tag (for dynamic versioning)
errorError message (when success=false)