跳至正文
Wener Notes

semver

约 1 分钟阅读
text
([1-9]\d*|0).([1-9]\d*|0).([1-9]\d*|0)
major        minor        patch

pre-release:
-
0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*
.
0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*

build:
+
[a-zA-Z0-9-]*
.
[a-zA-Z0-9-]*
rangetypecond
*X-Range>=0.0.0
1.2.3 - 2.3.4Hyphen Range>=1.2.3 <=2.3.4
1.2.3 - 2Hyphen Range>=1.2.3 <3.0.0
1.*X-Range>=1.0.0 <2.0.0
1.2.*X-Ranges>=1.2.0 <1.3.0
~1.2.3Tilde Ranges>=1.2.3 <1.3.0
^1.2.3Caret Ranges>=1.2.3 <2.0.0

Conventional Commits

text
<type>[optional scope]: <description>

[optional body]

[optional footer(s)]
  • type
    • fix, feat
    • build, chore, ci, docs, style, refactor, perf, test
    • revert + Refs commit-id
  • BREAKING CHANGE footer 描述变化 或 <type>[scope]!
text
fix: abc

zyx

Reviewed-by: Z
Refs: #123

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub3 条
其他外链5 条
最近更新commit 4d42cb0编辑