solidsoftworks/Semver tags

Gets the previous semver tag and calculates the next version. Optionally apply the version as a new tag.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
GITHUB_TOKENThe github token.yes
tag-prefixA value prefixed to the version number when tagging the repo.no""
default-versionThe version number that will be used if no semver tag is found.no1.0.0
incremented-valueWhat value should be incremented?nopatch
create-releaseA value to set whether to create a release along with the tag. Values can be true|false|branch_name.notrue
prereleaseThe prerelease tag to use.no
metadataThe metadata to use.no
previous-major-versionA value to use for the major version when searching for the previous version tag.no
previous-minor-versionA value to use for the minor version when searching for the previous version tag.no
previous-prereleaseA value to use for the prerelease value when searching for the previous version tag.no
previous-metadataA value to use for the metadata value when searching for the previous version tag.no
add-minor-tagAdds/updates a tag for the major.minor version if the semver version is not a prerelease.nofalse
add-major-tagAdds/updates a tag for the major version if the semver version is not a prerelease.nofalse
dry-runPerforms a version calculation without committing a tag.nofalse
namedescription
semantic-versionThe calculated version number.
core-versionThe core version part of the semantic version.
major-versionThe major version part of the semantic version.
minor-versionThe minor version part of the semantic version.
patch-versionThe patch version part of the semantic version.
previous-versionThe previous version number.