James E. Blair 50e1f72c6f Use "sort -V" for tags when building docs
The docs script changes its behavior when running on the "latest
release tag" -- it prepares to publish the docs at the primary
location, rather than in a subdirectory.  It used "sort -n", or
a numeric sort, of all tags to determine whether the current tag
was the latest.  This would fail to sort "0.11.0" after "0.9.0".

This changes the script to use a version number sort which
recognizes that difference.

As for comptability with other version number formats: it is
compatible with year.date formats (though the script ignores those
for client libraries).  And versions with letters in them (ie,
pre-release versions) are already filtered out (a pre-release can
never be the latest released tag).

Change-Id: I6bba9bbc97b8c8e635d1b88835129113485baf21
2013-08-26 10:09:35 -07:00
..
2013-01-02 19:05:59 +00:00
2013-08-02 13:22:47 -07:00
2013-08-16 20:46:17 -07:00
2012-11-12 18:58:07 +00:00
2013-05-17 17:21:21 +00:00
2013-05-20 20:40:03 +00:00
2012-11-10 23:50:17 +00:00