Friday, 26 November 2010

Drush makefile - installing dev versions of module

Normally in a drush make file modules to be installed are referenced by their module name e.g.
projects[]=cck


This will installed the recommended release of cck. If you want the development release, which is more recent, change the makefile entry to:

projects[cck][version]=2.x-dev


You can find the specific version of a module you are using by looking at its .info file.

Note that in your info file the version will appear with the Drupal version in front of it , like so:
version = "6.x-2.x-dev"


Just remove the "6.x-" part in front when building your makefile.

No comments:

Post a Comment