backdrop-contrib / backdrop-drush-extension

A set of commands and boot class for Drush and Backdrop CMS.
GNU General Public License v2.0
13 stars 18 forks source link

`drush dlb` does not download latest version if multiple releases happened on the same date #164

Open klonos opened 5 years ago

klonos commented 5 years ago

This was reported and confirmed over discussions on Gitter:

@michaelmcandrew:

hello there, when I do a drush dlb backdrop it downloads v1.11.19, but there is a newer version 1.12.6 available. am i doing somthing wrong? or is there a better way to download the latest version? I am working on a docker installation script for backdrop and civicrm.

@serundeputy:

... yeah; i got 1.11.9 to ... i'm guessing because they are both released on the same day

you can do

 gff ~/code/backdrop-ops/b-latest () 
└─ $ ∴ lando.dev drush dlb backdrop --select
    Choose one of the available releases for backdrop 

         [0]     :     1.13.0-preview
         [1]     :     1.12.6
         [2]     :     1.12.5
         [3]     :     1.12.4
         [4]     :     1.12.3
         [5]     :     1.12.2

to --select the version you want as a temp work around

you can file a bug report in the drush issue queue to determine when two releases happen same day cmpare version numbers and have dlb get the latest

michaelmcandrew commented 5 years ago

thanks for fililng this @klonos :)