actions-marketplace-validations/Sync release version.

Update files that reference a project version with a new release number.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
current_versionThe current project version (Default: The last git tag).no
new_versionThe next project version (Default: The new git tag).no
pathsA list of file names to search and replace versions.yes
patternThe pattern to match the location that needs to be updated.no""
only_majorOnly update the major version number.nofalse
strip_prefixPrefix to strip from the tag. For example if `strip_prefix` is set to `v` and the tag is `v1.0.0` the output becomes `1.0.0`.no""
use_tag_commit_hashWhen true, uses commit hash in the replacement pattern. For example, replaces `hash # v1` with `hash # v2`.nofalse
namedescription
is_initial_releaseBoolean indicating an initial release.
new_versionThe current project version
old_versionThe previous project version
major_updateBoolean indicating a major version bump