From 4a271bd34c17a88c528c79e71c4c7c4a72baa4fa Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Wed, 23 Jun 2021 10:12:49 -0400 Subject: [PATCH] Fix badge showing incorrect latest release version Display the correct latest release version by modifying the image url query string to specify semantic version sorting. Without this sorting, releasing 8.9.2, 9.0.0, 9.1.0, and then 8.9.3 would cause version 8.9.3 to incorrectly appear as the current latest release. --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index 8459557..73289ae 100644 --- a/www/index.php +++ b/www/index.php @@ -180,7 +180,7 @@ p:last-child { + src="https://img.shields.io/github/release/php-curl-class/php-curl-class.svg?style=flat-square&sort=semver" />