system-config/modules/jenkins
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
..
files Use "sort -V" for tags when building docs 2013-08-26 10:09:35 -07:00
lib/facter Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
manifests Use cgit server instead of github for everything 2013-08-19 10:19:47 -07:00
templates Fix cgconfig.conf comments. 2013-07-12 22:48:07 +00:00