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

moshe weitzman’s picture

Status: Active » Fixed

Major 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

  1. drush dl drush-7.x-4.0 (see drush.info)
  2. http://updates.drupal.org/release-history/drush/7.x

Status: Fixed » Closed (fixed)

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