瀏覽代碼

Add note about version and packagist

Jordi Boggiano 13 年之前
父節點
當前提交
db7f25baaf
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      doc/04-schema.md

+ 4 - 0
doc/04-schema.md

@@ -64,6 +64,10 @@ Optional if the package repository can infer the version from somewhere, such
 as the VCS tag name in the VCS repository. In that case it is also recommended
 to omit it.
 
+> **Note:** Packagist uses VCS repositories, so the statement above is very
+> much true for Packagist as well. Specifying the version yourself will
+> most likely end up creating problems at some point due to human error.
+
 ### type
 
 The type of the package. It defaults to `library`.