解决方法
如“
Is there a standard naming convention for git tags?”中所述:
The reason for the preceding ‘v’ is historical.
Older SCCS (cvs,rcs) could not distinguish between a tag identifier and a revision number.
Tag identifiers were restricted to not begin with a numeric value so that revision numbers could be detected.
在其2.0版本中,Semantic Versionning没有强制执行该惯例.它在1.0版本中:
When tagging releases in a version control system,the tag for a version MUST be “
vX.Y.Z
” e.g. “v3.1.0
“.
它不再被强制执行的事实显示了’v’的可选性.