Admitted, this is an edge case - but a bug none the less. If you run drush fu --version-increment on a feature with version 7.x-1.0-beta11, it is incremented to 7.x-1.0-beta2. I'm not very good at regex, but I suspect that the regex in _drush_features_generate_export() is already satisfied when it finds a number at the last position of the string and doesn't look any further.

CommentFileSizeAuthor
#2 drush-update-increment-2340833-2.patch504 bytesdagmar

Comments

clemens.tolboom’s picture

This is for sure not an edge case. It break with other versions like 7.x-1.x-alpha123

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new504 bytes

Here is the patch.

  • mpotter committed cb1919f on 7.x-2.x authored by dagmar
    Issue #2340833 by dagmar: version-increment increments "beta11" to "...
mpotter’s picture

Status: Needs review » Fixed

Committed to cb1919f.

Status: Fixed » Closed (fixed)

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