From 7646101e1594868a6a7c701a2368cb6187b37067 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Sat, 12 Jun 2021 22:27:45 -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" />