From 3f685777754852796acdca373efa202ff80b936a Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 8 Nov 2012 21:01:26 +0100 Subject: [PATCH] Clarify what a comparable version is on the aliasing page --- doc/articles/aliases.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/articles/aliases.md b/doc/articles/aliases.md index 94653b5bb..efd7cc6cb 100644 --- a/doc/articles/aliases.md +++ b/doc/articles/aliases.md @@ -37,9 +37,9 @@ specifying a `branch-alias` field under `extra` in `composer.json`: } The branch version must begin with `dev-` (non-comparable version), the alias -must be a comparable dev version. The `branch-alias` must be present on the -branch that it references. For `dev-master`, you need to commit it on the -`master` branch. +must be a comparable dev version (i.e. start with numbers, and end with +`.x-dev`). The `branch-alias` must be present on the branch that it references. +For `dev-master`, you need to commit it on the `master` branch. As a result, anyone can now require `1.0.*` and it will happily install `dev-master`.