First of all, thanks for this great project!
I am trying to create a make file which will download the latest 3.x development snapshot of admin_menu but got an error saying about invalid version. Here's my make file:
core = 6.x
projects[] = drupal
projects[admin_menu][version] = 3.x-dev
I also tried using 3.x and even 6.x-3.x-dev as version string but they produced the same errors. I read the documentation but couldn't find any info on this.
A suggestion would be very appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drush_make_enable_dev_version_string.patch | 970 bytes | kong |
Comments
Comment #1
dmitrig01 commentedyeah, version parsing could be a bit better. try 3-dev
Comment #2
kong commentedThat still doesn't do the trick. However, I took a peek at the
$project['release_history']->releases->releasearray and figured something out:The release object for admin_menu-6.x-3.0-alpha3 contains
And the release object for admin_menu-6.x-3.x-dev contains
The difference is that there is no
[version_patch]attribute for DEV version. So I modified the code indrush_make.drush.incand the make file above seems to work fine. Please see the attached patch below.Comment #3
dmitrig01 commentedComitted - thanks~
Comment #4
dmitrig01 commented