Here's what happens instead:

[admin@server modules]$ drush dl crmngp-5.x-1.11
Project crmngp (5.x-1.x-dev) successfully downloaded to /www/example.com/html/modules/.

Why is it getting 5.x-1.x-dev when I specified 5.x-1.11?

Comments

seanr’s picture

BTW, 5.x-1.11 is newer than 5.x-1.x-dev because the dev packages don't update as often, so this is actually causing me problems today.

owen barton’s picture

The Drupal.org XML feed for module versions is cached, I believe - so it may take a little while before drush finds very recently released project versions (how long is a little while I don't know - probably a question for the infrastructure team).

seanr’s picture

It is getting 1.1 now, but I don't think the version option is working at all, though. Even trying to download crmngp-5.x-1.0 still gets crmngp-5.x-1.1 instead. It's just getting the newest 5.x version no matter what I enter.

owen barton’s picture

There is no 5.x-1.0 release (see http://drupal.org/node/242661/release), which is why it is falling back to the 1.1 release.

It's works for 6.x-1.0 though, because that does have a release:

$ drush dl crmngp-6.x-1.0
Project crmngp (6.x-1.0) successfully downloaded to /home/obarton/workspace/.
$ drush dl crmngp-6.x-1.1
Project crmngp (6.x-1.1) successfully downloaded to /home/obarton/workspace/.
moshe weitzman’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.