I really wished these projects could put their version numbers in a standard way to make this task easier.

colorpicker's status shows as "not detected".

The following works for me,
change:

      'file' => 'js/colorpicker.js',
      'pattern' => '/<h3>Last update<\/h3>.*?<p>([0-9a-zA-Z\.-]+)/',

to:

      'file' => 'index.html',
      'pattern' => '/<p>([0-9\.-]+)/',
      'lines' => 30,
      'cols' => 100,

I know this pattern is less than ideal, but I couldn't figure out how to make it match across multiple lines.

Comments

rob holmes’s picture

Issue summary: View changes
Status: Needs work » Fixed

Hi there, thanks for this. I find it very hard to come to a conclusion on the right thing to do in situations like this where there is no version number at all. For now i have decided to force the version number for this library until such time as I come up with something more reliable.

Status: Fixed » Closed (fixed)

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