What is the meaning of -rc in semantic versioning?

若如初见. 提交于 2021-02-07 04:55:17

问题


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/


回答1:


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.



来源:https://stackoverflow.com/questions/50915541/what-is-the-meaning-of-rc-in-semantic-versioning

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!