yunabraska/Semver Info Action

Cleans, parses, and compares semantic versions, providing essential insights into versioning, stability, and compatibility

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
semver-aSemver A to processno""
semver-bSemver B to process - will be compared against the first semverno""
fallBack-semver-aThe fallback version A in case version A is not validno""
fallBack-semver-bThe fallback version B in case version B is not validno""
increase-aIncrease version A before processing [major, minor, patch, rc, snapshot]no""
increase-bIncrease version B before processing [major, minor, patch, rc, snapshot]no""
use-version-txtOverwrites input semver-b with the version from version.txt file - if the file exists and the version is validnofalse
null-to-emptyconverts null to empty stringnotrue
namedescription
clean_semverThe cleaned and normalized version without any prefix (highest semver wins)
clean_semver_aThe cleaned and normalized version A without any prefix
clean_semver_bThe cleaned and normalized version B without any prefix
base_semverThe base semver without pre-release or build metadata (highest semver wins)
base_semver_aThe base semver of A without pre-release or build metadata
base_semver_bThe base semver of B without pre-release or build metadata
is_greater_aWhether A is greater than B
is_smaller_aWhether A is smaller than B
is_greater_bWhether B is greater than A
is_smaller_bWhether B is smaller than A
change_typeDiff A and B change [major, minor, patch, rc]
is_major_changeIf diff A and B is a major change
is_minor_changeIf diff A and B is a minor change
is_patch_changeIf diff A and B is a patch change
is_rc_changeIf diff A and B is a rc (release candidate) change
is_valid_semverWhether the semver is valid (highest semver wins)
is_valid_semver_aWhether semver A is valid
is_valid_semver_bWhether semver B is valid
is_snapshotWhether the version is a snapshot pre-release (highest semver wins)
is_snapshot_aWhether version A is a snapshot pre-release
is_snapshot_bWhether version B is a snapshot pre-release
is_stableWhether the version is stable (doesn`t contain any pre-release tag) (highest semver wins)
is_stable_aWhether version A is stable (doesn`t contain any pre-release tag)
is_stable_bWhether version B is stable (doesn`t contain any pre-release tag)
majorThe major version of provided semver (highest semver wins)
major_aThe major version of A
major_bThe major version of B
minorThe minor version of provided semver (highest semver wins)
minor_aThe minor version of A
minor_bThe minor version of B
patchThe patch version of provided semver (highest semver wins)
patch_aThe patch version of A
patch_bThe patch version of B
rcThe release candidate version of provided semver (highest semver wins)
rc_aThe release candidate version of A
rc_bThe release candidate version of B
rc_strThe prefix of the release candidate version (highest semver wins)
rc_str_aThe prefix of the release candidate version of A
rc_str_bThe prefix of the release candidate version of B
next_majorThe next major version of provided semver (highest semver wins)
next_major_aThe next major version of A
next_major_bThe next major version of B
next_minorThe next minor version of provided semver (highest semver wins)
next_minor_aThe next minor version of A
next_minor_bThe next minor version of B
next_patchThe next patch version of provided semver (highest semver wins)
next_patch_aThe next patch version of A
next_patch_bThe next patch version of B
next_rcThe next rc version of provided semver (highest semver wins)
next_rc_aThe next rc version of A
next_rc_bThe next rc version of B
snapshot_semverThe normalized snapshot version for the current semver line (highest semver wins)
snapshot_semver_aThe normalized snapshot version for A
snapshot_semver_bThe normalized snapshot version for B
next_snapshotThe next snapshot version of provided semver (highest semver wins)
next_snapshot_aThe next snapshot version of A
next_snapshot_bThe next snapshot version of B
original-semver-aSemver A to process
original-semver-bSemver B to process - will be compared with first semver
fallBack-semver-aThe fallback version A in case the original version A is not valid
fallBack-semver-bThe fallback version B in case the original version B is not valid
version_txtsemver from version file
version_txt_pathpath of version file