Преглед на файлове

Docs: Added Note about tags vs. version constraint

I made this mistake myself a few days ago, so I think it will be useful to note that here.
Carsten Brandt преди 11 години
родител
ревизия
cf676880c1
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      doc/02-libraries.md

+ 4 - 0
doc/02-libraries.md

@@ -82,6 +82,10 @@ Here are a few examples of valid tag names:
     v2.0.0-alpha
     v2.0.4-p1
 
+> **Note:** Even if your tag is prefixed with `v`, a [version constraint](01-basic-usage.md#package-versions)
+> in a `require` statement has to be specified without prefix
+> (e.g. tag `v1.0.0` will result in version `1.0.0`). 
+
 ### Branches
 
 For every branch, a package development version will be created. If the branch