Closed (fixed)
Project:
Drush
Version:
All-versions-4.0
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2011 at 04:17 UTC
Updated:
22 Jan 2011 at 15:00 UTC
When I run the version command on 4.0 (the latest release), drush thinks there is a newer version. This is installed on a shared hosting running CentOS.
$ drush version
drush version 4.0
A newer version of drush, All-versions-4.0, is available. Would you like to back up your current drush, version 4.0, to /somepath/ and replace it with the newer release? (y/n):
Comments
Comment #1
moshe weitzman commentedMajor WTF by the packaging script or release system here. The timestamp that the packaging script wrote into drush.info is one second earlier (1294439153) than the date in the release XML (1294439154). So I just committed a change to add 60 seconds to the packaging script time. This should prevent false positives.
I also changed such that version command only nags and won't actually selfupdate. Thats how pm-updatecode works.
I think I will release 4.1 Sunday night or so. This is a bad bug.
If someone wants to investigate, compare
drush dl drush-7.x-4.0(see drush.info)