found drama

get oblique

Tag Archives: comparator

a better version comparator

by Rob Friesel

Back in February, I wrote a little Ruby script to deal with sorting version numbers as they’re dumped out of the git tag command. The problem (in a nutshell) is that “1.0.2” < “1.0.10” — except that git returns these as strings which sort alphabetically. Hence the original Ruby script. Now: if you’re behaving yourself, and following […]