What is the meaning of -rc in semantic versioning?

Félix Paradis picture Félix Paradis · Jun 18, 2018 · Viewed 7.6k times · Source

I get the logic of MAJOR.MINOR.PATCH and kinda intuitively get what -alpha and -beta mean at the end of a semver number but -rc doesn't ring any bell for me.

Couldn't find a satisfying answer there -> https://semver.org/

Answer

jwdonahue picture jwdonahue · Jun 22, 2018

The meanings of prerelease and build meta tags in SemVer strings is entirely up to the publisher. Always consult the publisher's documentation before acting on tag content. As @lemieuxster points out however, "rc" is likely an acronym for Release Candidate.

In the absence of publisher documentation, you can not make assumptions about meanings of any prerelease tag. The specs defines precedence based entirely on the tags ASCII code points and the number of fields: 1.0.0-airdale < 1.0.0-airdale.dog < 1.0.0-boring < 1.0.0-zed. They don't have to have any implied meaning for the sort algorithms to do their job. There's nothing special about "-alpha" unless the publisher documents what it means.