From cf676880c181c7009562431a9bf86a3439467b2f Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 20 Dec 2013 13:41:08 +0100 Subject: [PATCH] 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. --- doc/02-libraries.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/02-libraries.md b/doc/02-libraries.md index 12e96ec96..27428064f 100644 --- a/doc/02-libraries.md +++ b/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